forked from openlp/openlp
Fix stack trace when editing a song
bzr-revno: 1553 Fixes: https://launchpad.net/bugs/784800
This commit is contained in:
commit
4a64dfe3db
@ -221,8 +221,7 @@ class SongMediaItem(MediaManagerItem):
|
||||
# Push edits to the service manager to update items
|
||||
if self.editItem and self.updateServiceOnEdit and \
|
||||
not self.remoteTriggered:
|
||||
item_id = _getIdOfItemToGenerate(self.editItem)
|
||||
item = self.buildServiceItem(item_id)
|
||||
item = self.buildServiceItem(self.editItem)
|
||||
self.parent.serviceManager.replaceServiceItem(item)
|
||||
self.onRemoteEditClear()
|
||||
self.onSearchTextButtonClick()
|
||||
|
Loading…
Reference in New Issue
Block a user