mirror of
https://gitlab.com/openlp/openlp.git
synced 2024-09-28 19:07:35 +00:00
fix bug that prevents song book entries to be imported.
This commit is contained in:
parent
7941d8e2a1
commit
b20eaef054
@ -371,7 +371,7 @@ class SongImport(QtCore.QObject):
|
||||
song_book = self.manager.get_object_filtered(Book, Book.name == self.song_book_name)
|
||||
if song_book is None:
|
||||
song_book = Book.populate(name=self.song_book_name, publisher=self.song_book_pub)
|
||||
song.book = song_book
|
||||
song.add_songbook_entry(song_book, song.song_number)
|
||||
for topic_text in self.topics:
|
||||
if not topic_text:
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user