You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Used to select next or prev media defcust_func(self, next=True):
playlist=self.playlistBox.get_children()
currentIndex=playlist.index(self.playlistBox.get_selected_row())
if(currentIndex<=len(playlist) -1):
if(next):
ifnot (currentIndex) ==len(playlist) -1:
currentIndex+=1else:
currentIndex=0else:
currentIndex-=1else:
currentIndex+=1self.playlistBox.select_row(playlist[currentIndex])
# calling the signal handler manuallyself.onSelectionActivated(self.playlistBox, playlist[currentIndex])
The text was updated successfully, but these errors were encountered:
That works better for me
The text was updated successfully, but these errors were encountered: