V3: track highlighting fix
When a track is moved to above the marked next track, and the moved track is made the next track, the original next track remained marked as next.
This commit is contained in:
parent
cf4d06db16
commit
f8093bc642
@ -1121,8 +1121,6 @@ class PlaylistModel(QAbstractTableModel):
|
||||
"""
|
||||
|
||||
next_row_was = track_sequence.next.plr_rownum
|
||||
if next_row_was is not None:
|
||||
self.invalidate_row(next_row_was)
|
||||
|
||||
if row_number is None:
|
||||
if next_row_was is None:
|
||||
@ -1156,6 +1154,9 @@ class PlaylistModel(QAbstractTableModel):
|
||||
self.playlist_rows[row_number].title
|
||||
)
|
||||
self.invalidate_row(row_number)
|
||||
|
||||
if next_row_was is not None:
|
||||
self.invalidate_row(next_row_was)
|
||||
self.update_track_times()
|
||||
|
||||
def setData(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user