Remove current track higlighting at end of track

This commit is contained in:
Keith Edmunds 2022-09-05 18:42:30 +01:00
parent 56b99630c1
commit 8044f95556

View File

@ -1204,6 +1204,8 @@ class PlaylistTab(QTableWidget):
return
self._meta_clear_attribute(current_row, RowMeta.CURRENT)
# Reset colour
self._set_row_colour(current_row, None)
def _column_resize(self, idx: int, old: int, new: int) -> None:
"""
@ -1775,8 +1777,8 @@ class PlaylistTab(QTableWidget):
brush = QBrush()
for column in range(1, self.columnCount()):
# Don't clear colour on start gap row
if not colour and column == columns['start_gap'].idx:
# Don't change colour on start gap columns
if column == columns['start_gap'].idx:
continue
if self.item(row, column):
self.item(row, column).setBackground(brush)