From c69aefef92bd7930b19ece8fe0610050600ce970 Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Fri, 10 Sep 2021 09:25:06 +0100 Subject: [PATCH] Save playlist after moving tracks to another list Fixes: #38 --- app/playlists.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/playlists.py b/app/playlists.py index 0b7c547..1dcdb5b 100644 --- a/app/playlists.py +++ b/app/playlists.py @@ -382,6 +382,9 @@ class PlaylistTab(QTableWidget): for row in sorted(rows, reverse=True): self.removeRow(row) + with Session() as session: + self._save_playlist(session) + self._repaint() def play_started(self):