info_page_selector bug fix

This commit is contained in:
cpi 2019-08-26 08:05:34 +00:00
parent 3829a2a7f9
commit afe616de9e

View File

@ -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