WIP playlists refactor: set header colour when removing track
This commit is contained in:
parent
c5f89dbcf4
commit
b1841b02ea
@ -1513,10 +1513,8 @@ class PlaylistTab(QTableWidget):
|
|||||||
# Set note text in correct column for section head
|
# Set note text in correct column for section head
|
||||||
_ = self._set_item_text(row, HEADER_NOTES_COLUMN, plr.note)
|
_ = self._set_item_text(row, HEADER_NOTES_COLUMN, plr.note)
|
||||||
|
|
||||||
note_colour = NoteColours.get_colour(session, plr.note)
|
_ = self._set_row_note_colour(session, row, plr.note,
|
||||||
if not note_colour:
|
section_header=True)
|
||||||
note_colour = Config.COLOUR_NOTES_PLAYLIST
|
|
||||||
self._set_row_colour(row, QColor(note_colour))
|
|
||||||
self.clear_selection()
|
self.clear_selection()
|
||||||
|
|
||||||
def _rescan(self, row: int, track_id: int) -> None:
|
def _rescan(self, row: int, track_id: int) -> None:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user