Order functions alphabetically
This commit is contained in:
parent
4f10ed7bad
commit
194306bc1d
@ -311,6 +311,15 @@ class PlaylistTab(QTableWidget):
|
||||
|
||||
return result
|
||||
|
||||
def get_selected_title(self):
|
||||
"Return title of selected row or None"
|
||||
|
||||
if self.selectionModel().hasSelection():
|
||||
row = self.currentRow()
|
||||
return self.item(row, self.COL_TITLE).text()
|
||||
else:
|
||||
return None
|
||||
|
||||
def remove_rows(self, rows):
|
||||
"Remove rows passed in rows list"
|
||||
|
||||
@ -323,15 +332,6 @@ class PlaylistTab(QTableWidget):
|
||||
|
||||
self._repaint()
|
||||
|
||||
def get_selected_title(self):
|
||||
"Return title of selected row or None"
|
||||
|
||||
if self.selectionModel().hasSelection():
|
||||
row = self.currentRow()
|
||||
return self.item(row, self.COL_TITLE).text()
|
||||
else:
|
||||
return None
|
||||
|
||||
def play_started(self):
|
||||
"""
|
||||
Update current track to be what was next, and determine next track.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user