forked from openlp/openlp
Note: If a title is not present in the song, it is still added. I feel this is the right action, as it apears that that is how it was in Foil Presenter
This commit is contained in:
parent
f0047bece0
commit
22c3c76a5a
@ -483,6 +483,7 @@ class FoilPresenter(object):
|
|||||||
# Process verse order
|
# Process verse order
|
||||||
verse_order = []
|
verse_order = []
|
||||||
verse_strophenr = []
|
verse_strophenr = []
|
||||||
|
if hasattr(foilpresenterfolie, u'reihenfolge.strophennummer'):
|
||||||
for strophennummer in foilpresenterfolie.reihenfolge.strophennummer:
|
for strophennummer in foilpresenterfolie.reihenfolge.strophennummer:
|
||||||
verse_strophenr.append(strophennummer)
|
verse_strophenr.append(strophennummer)
|
||||||
# Currently we do not support different "parts"!
|
# Currently we do not support different "parts"!
|
||||||
@ -538,6 +539,7 @@ class FoilPresenter(object):
|
|||||||
``song``
|
``song``
|
||||||
The song object.
|
The song object.
|
||||||
"""
|
"""
|
||||||
|
if hasattr(foilpresenterfolie, u'titel.titelstring'):
|
||||||
for title_string in foilpresenterfolie.titel.titelstring:
|
for title_string in foilpresenterfolie.titel.titelstring:
|
||||||
if not song.title:
|
if not song.title:
|
||||||
song.title = self._child(title_string)
|
song.title = self._child(title_string)
|
||||||
|
Loading…
Reference in New Issue
Block a user