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