From 3f7cac07e31cfc51f4729d55893c481af4605cb1 Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Sat, 10 Apr 2021 23:12:01 +0100 Subject: [PATCH] Bug fix: inserting timed note didn't refresh times --- app/playlists.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/playlists.py b/app/playlists.py index 64d2ddf..10d2f5c 100644 --- a/app/playlists.py +++ b/app/playlists.py @@ -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): """