forked from openlp/openlp
Head
This commit is contained in:
commit
cff081066f
@ -422,7 +422,8 @@ class FoilPresenter(object):
|
||||
VerseType.Tags[VerseType.PreChorus]: 1
|
||||
}
|
||||
for strophe in foilpresenterfolie.strophen.strophe:
|
||||
text = self._child(strophe.text_)
|
||||
text = self._child(strophe.text_) if hasattr(strophe, u'text_') \
|
||||
else u''
|
||||
verse_name = self._child(strophe.key)
|
||||
children = strophe.getchildren()
|
||||
sortnr = False
|
||||
|
@ -220,8 +220,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