forked from openlp/openlp
Fix number of song verses. > 10
bzr-revno: 703
This commit is contained in:
commit
58ecacbc1a
@ -444,7 +444,7 @@ class SlideController(QtGui.QWidget):
|
|||||||
tag = None
|
tag = None
|
||||||
#If verse handle verse number else tag only
|
#If verse handle verse number else tag only
|
||||||
if bits[0] == self.trUtf8('Verse'):
|
if bits[0] == self.trUtf8('Verse'):
|
||||||
tag = u'%s%s' % (bits[0][0], bits[1][0] )
|
tag = u'%s%s' % (bits[0][0], bits[1][0:] )
|
||||||
else:
|
else:
|
||||||
tag = bits[0]
|
tag = bits[0]
|
||||||
try:
|
try:
|
||||||
|
@ -410,7 +410,7 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog):
|
|||||||
self.AuthorsListView.setFocus()
|
self.AuthorsListView.setFocus()
|
||||||
#split the verse list by space and mark lower case for testing
|
#split the verse list by space and mark lower case for testing
|
||||||
for verse in unicode(self.VerseOrderEdit.text()).lower().split(u' '):
|
for verse in unicode(self.VerseOrderEdit.text()).lower().split(u' '):
|
||||||
if len(verse) == 2:
|
if len(verse) > 1:
|
||||||
if verse[0:1] == u'v' and verse[1:].isdigit():
|
if verse[0:1] == u'v' and verse[1:].isdigit():
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
@ -310,7 +310,7 @@ class SongMediaItem(MediaManagerItem):
|
|||||||
for verse in verseList:
|
for verse in verseList:
|
||||||
if verse[1]:
|
if verse[1]:
|
||||||
if verse[0][u'type'] == "Verse":
|
if verse[0][u'type'] == "Verse":
|
||||||
if verse[0][u'label'][0] == order[1:]:
|
if verse[0][u'label'] == order[1:]:
|
||||||
verseTag = u'%s:%s' % \
|
verseTag = u'%s:%s' % \
|
||||||
(verse[0][u'type'], verse[0][u'label'])
|
(verse[0][u'type'], verse[0][u'label'])
|
||||||
service_item.add_from_text\
|
service_item.add_from_text\
|
||||||
|
@ -1 +1 @@
|
|||||||
1.9.0-702
|
1.9.0-703
|
||||||
|
Loading…
Reference in New Issue
Block a user