From afe616de9edf1159cc47ec32149d58861506b14f Mon Sep 17 00:00:00 2001 From: cpi Date: Mon, 26 Aug 2019 08:05:34 +0000 Subject: [PATCH] info_page_selector bug fix --- sys.py/UI/info_page_selector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys.py/UI/info_page_selector.py b/sys.py/UI/info_page_selector.py index 69869e6..2b167cc 100644 --- a/sys.py/UI/info_page_selector.py +++ b/sys.py/UI/info_page_selector.py @@ -18,7 +18,7 @@ class InfoPageSelector(PageSelector): def Draw(self): idx = self._Parent._PsIndex - if idx < len(self._Parent._MyList): + if idx >= 0 and idx < len(self._Parent._MyList): y = self._Parent._MyList[idx]._PosY+1 h = self._Parent._MyList[idx]._Height -3