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
|
Move selected rows to another playlist
|
||||||
"""
|
"""
|
||||||
|
|
||||||
selected_plrs = self.visible_playlist_tab().get_selected_playlistrows(
|
with Session() as session:
|
||||||
session)
|
selected_plrs = (
|
||||||
|
self.visible_playlist_tab().get_selected_playlistrows(session))
|
||||||
if not selected_plrs:
|
if not selected_plrs:
|
||||||
return
|
return
|
||||||
|
|
||||||
with Session() as session:
|
|
||||||
self.move_playlist_rows(session, selected_plrs)
|
self.move_playlist_rows(session, selected_plrs)
|
||||||
|
|
||||||
def move_tab(self, frm: int, to: int) -> None:
|
def move_tab(self, frm: int, to: int) -> None:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user