WIP V3: editing header rows works
This commit is contained in:
parent
bfc7a8508c
commit
0f77cef37a
@ -375,6 +375,11 @@ class PlaylistModel(QAbstractTableModel):
|
||||
Return text for editing
|
||||
"""
|
||||
|
||||
# If this is a header row and we're being asked for the
|
||||
# HEADER_NOTES_COLUMN, return the note value
|
||||
if self.is_header_row(row) and column == HEADER_NOTES_COLUMN:
|
||||
return QVariant(prd.note)
|
||||
|
||||
if column == Col.TITLE.value:
|
||||
return QVariant(prd.title)
|
||||
if column == Col.ARTIST.value:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user