mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-12 09:48:50 +01:00
bux fix,list index out of range
This commit is contained in:
parent
2b136fae3c
commit
2f263ff707
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user