bux fix,list index out of range

This commit is contained in:
cuu 2020-04-29 19:55:29 +08:00
parent 2b136fae3c
commit 2f263ff707
2 changed files with 3 additions and 1 deletions

View File

@ -196,6 +196,7 @@ class MusicLibListPage(Page):
self._Scroller.Init()
def Click(self):
self.RefreshPsIndex()
if len(self._MyList) == 0:
return

View File

@ -235,6 +235,7 @@ class PlayListPage(Page):
self._MyList[i]._PosY += self._Scrolled * self._MyList[i]._Height
def Click(self):
self.RefreshPsIndex()
if len(self._MyList) == 0:
return