forked from openlp/openlp
Head
This commit is contained in:
commit
cff081066f
@ -422,7 +422,8 @@ class FoilPresenter(object):
|
|||||||
VerseType.Tags[VerseType.PreChorus]: 1
|
VerseType.Tags[VerseType.PreChorus]: 1
|
||||||
}
|
}
|
||||||
for strophe in foilpresenterfolie.strophen.strophe:
|
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)
|
verse_name = self._child(strophe.key)
|
||||||
children = strophe.getchildren()
|
children = strophe.getchildren()
|
||||||
sortnr = False
|
sortnr = False
|
||||||
|
@ -220,8 +220,7 @@ class SongMediaItem(MediaManagerItem):
|
|||||||
# Push edits to the service manager to update items
|
# Push edits to the service manager to update items
|
||||||
if self.editItem and self.updateServiceOnEdit and \
|
if self.editItem and self.updateServiceOnEdit and \
|
||||||
not self.remoteTriggered:
|
not self.remoteTriggered:
|
||||||
item_id = _getIdOfItemToGenerate(self.editItem)
|
item = self.buildServiceItem(self.editItem)
|
||||||
item = self.buildServiceItem(item_id)
|
|
||||||
self.parent.serviceManager.replaceServiceItem(item)
|
self.parent.serviceManager.replaceServiceItem(item)
|
||||||
self.onRemoteEditClear()
|
self.onRemoteEditClear()
|
||||||
self.onSearchTextButtonClick()
|
self.onSearchTextButtonClick()
|
||||||
|
Loading…
Reference in New Issue
Block a user