From b4fcd5f2c995b44da85e490e6561e3e8d8667ce9 Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Fri, 15 Nov 2024 21:38:24 +0000 Subject: [PATCH] Don't try to move rows if no rows selected Fixes #263 --- app/musicmuster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/musicmuster.py b/app/musicmuster.py index 0cc3cb0..dcebc20 100755 --- a/app/musicmuster.py +++ b/app/musicmuster.py @@ -1075,7 +1075,7 @@ class Window(QMainWindow, Ui_MainWindow): Paste earlier cut rows. """ - if self.move_source_rows is None or self.move_source_model is None: + if not self.move_source_rows or not self.move_source_model: return to_playlist_model: PlaylistModel = self.active_tab().source_model