mirror of
https://github.com/clockworkpi/launcher.git
synced 2026-03-18 18:02:46 +01:00
bux fix,list index out of range
This commit is contained in:
@@ -196,6 +196,7 @@ class MusicLibListPage(Page):
|
||||
self._Scroller.Init()
|
||||
|
||||
def Click(self):
|
||||
self.RefreshPsIndex()
|
||||
if len(self._MyList) == 0:
|
||||
return
|
||||
|
||||
|
||||
@@ -235,9 +235,10 @@ class PlayListPage(Page):
|
||||
self._MyList[i]._PosY += self._Scrolled * self._MyList[i]._Height
|
||||
|
||||
def Click(self):
|
||||
self.RefreshPsIndex()
|
||||
if len(self._MyList) == 0:
|
||||
return
|
||||
|
||||
|
||||
cur_li = self._MyList[self._PsIndex]
|
||||
play_pos_id = myvars.Poller.play(self._PsIndex)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user