Merge branch 'fix-qcollatorsortkey-err' into 'master'

Fix error when adding songs from services.

See merge request openlp/openlp!155
This commit is contained in:
Tim Bentley 2020-03-10 21:40:39 +00:00
commit 980c68488a

View File

@ -745,6 +745,7 @@ class SongMediaItem(MediaManagerItem):
if item.background_audio: if item.background_audio:
self._update_background_audio(song, item) self._update_background_audio(song, item)
edit_id = song.id edit_id = song.id
song.init_on_load()
self.on_search_text_button_clicked() self.on_search_text_button_clicked()
elif add_song and not self.add_song_from_service: elif add_song and not self.add_song_from_service:
# Make sure we temporary import formatting tags. # Make sure we temporary import formatting tags.