Bug fix: inserting timed note didn't refresh times

This commit is contained in:
Keith Edmunds 2021-04-10 23:12:01 +01:00
parent 5d65bebd1e
commit 3f7cac07e3

View File

@ -148,7 +148,8 @@ class Playlist(QTableWidget):
row = self.rowCount()
DEBUG(f"playlist.add_note(): row={row}")
self.add_to_playlist(Notes.add_note(self.playlist_id, row, text), row)
note = Notes.add_note(self.playlist_id, row, text)
self.add_to_playlist(note, row=row)
def add_to_playlist(self, data, repaint=True, row=None):
"""