Fix bug stopping right-click menu
This commit is contained in:
parent
5c02f82d21
commit
8558de82b4
@ -225,7 +225,7 @@ class PlaylistTab(QTableWidget):
|
||||
act_info = self.menu.addAction('Info')
|
||||
act_info.triggered.connect(lambda: self._info_row(row))
|
||||
self.menu.addSeparator()
|
||||
if row not in self.get_notes_rows():
|
||||
if row not in self._get_notes_rows():
|
||||
act_mplayer = self.menu.addAction(
|
||||
"Play track with mplayer")
|
||||
act_mplayer.triggered.connect(
|
||||
@ -1432,7 +1432,7 @@ class PlaylistTab(QTableWidget):
|
||||
|
||||
DEBUG(f"_mplayer({row})")
|
||||
|
||||
if row in self.get_notes_rows():
|
||||
if row in self._get_notes_rows():
|
||||
return None
|
||||
|
||||
with Session() as session:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user