parent
2ada8a27fe
commit
999a98e2ad
@ -827,7 +827,11 @@ class Window(QMainWindow, Ui_MainWindow):
|
|||||||
with Session() as session:
|
with Session() as session:
|
||||||
unplayed_playlist_rows = PlaylistRows.get_unplayed_rows(
|
unplayed_playlist_rows = PlaylistRows.get_unplayed_rows(
|
||||||
session, playlist_id)
|
session, playlist_id)
|
||||||
self.move_playlist_rows(session, unplayed_playlist_rows)
|
if helpers.ask_yes_no("Move tracks",
|
||||||
|
f"Move {len(unplayed_playlist_rows)} tracks:"
|
||||||
|
" Are you sure?"
|
||||||
|
):
|
||||||
|
self.move_playlist_rows(session, unplayed_playlist_rows)
|
||||||
|
|
||||||
def new_from_template(self) -> None:
|
def new_from_template(self) -> None:
|
||||||
"""Create new playlist from template"""
|
"""Create new playlist from template"""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user