Fix moving tracks to another playlist
This commit is contained in:
parent
5fc1d21f5a
commit
c93f24970f
@ -1045,12 +1045,12 @@ class Window(QMainWindow, Ui_MainWindow):
|
||||
Move selected rows to another playlist
|
||||
"""
|
||||
|
||||
selected_plrs = self.visible_playlist_tab().get_selected_playlistrows(
|
||||
session)
|
||||
if not selected_plrs:
|
||||
return
|
||||
|
||||
with Session() as session:
|
||||
selected_plrs = (
|
||||
self.visible_playlist_tab().get_selected_playlistrows(session))
|
||||
if not selected_plrs:
|
||||
return
|
||||
|
||||
self.move_playlist_rows(session, selected_plrs)
|
||||
|
||||
def move_tab(self, frm: int, to: int) -> None:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user