Save playlist after undoing sort
This commit is contained in:
parent
c8a7ae7f73
commit
8cebf7829b
@ -2344,6 +2344,11 @@ class PlaylistTab(QTableWidget):
|
|||||||
# Reset drag mode to allow row selection by dragging
|
# Reset drag mode to allow row selection by dragging
|
||||||
self.setDragEnabled(False)
|
self.setDragEnabled(False)
|
||||||
|
|
||||||
|
# Save playlist
|
||||||
|
with Session() as session:
|
||||||
|
self.save_playlist(session)
|
||||||
|
self._update_start_end_times(session)
|
||||||
|
|
||||||
def _track_time_between_rows(
|
def _track_time_between_rows(
|
||||||
self, session: scoped_session, from_plr: PlaylistRows, to_plr: PlaylistRows
|
self, session: scoped_session, from_plr: PlaylistRows, to_plr: PlaylistRows
|
||||||
) -> int:
|
) -> int:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user