From 245e374171553fc710adc23e4ff79bb052bdc592 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Mon, 4 Jan 2016 19:50:42 +0100 Subject: [PATCH] Fix removing a songbook --- openlp/plugins/songs/forms/editsongform.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openlp/plugins/songs/forms/editsongform.py b/openlp/plugins/songs/forms/editsongform.py index 51d5a47de..90923a6d0 100644 --- a/openlp/plugins/songs/forms/editsongform.py +++ b/openlp/plugins/songs/forms/editsongform.py @@ -1026,6 +1026,7 @@ class EditSongForm(QtWidgets.QDialog, Ui_EditSongDialog, RegistryProperties): topic = self.manager.get_object(Topic, topic_id) if topic is not None: self.song.topics.append(topic) + self.song.songbookentries = [] for row in range(self.songbooks_list_view.count()): item = self.songbooks_list_view.item(row) songbook_id = item.data(QtCore.Qt.UserRole)[0]