Don't try to move rows if no rows selected

Fixes #263
This commit is contained in:
Keith Edmunds 2024-11-15 21:38:24 +00:00
parent ff81447902
commit b4fcd5f2c9

View File

@ -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