From 8f91cfe020d4099b96def53e0a19873c9838f4ea Mon Sep 17 00:00:00 2001 From: cpi Date: Mon, 26 Aug 2019 16:11:02 +0800 Subject: [PATCH] cores manager ps index out of range 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 1be54d1..dae9916 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