forked from openlp/openlp
Clean up slidecontroller
This commit is contained in:
parent
c022e6a89f
commit
61b4850941
@ -537,17 +537,9 @@ class SlideController(QtGui.QWidget):
|
|||||||
if self.serviceItem.is_text():
|
if self.serviceItem.is_text():
|
||||||
if frame[u'verseTag']:
|
if frame[u'verseTag']:
|
||||||
bits = frame[u'verseTag'].split(u':')
|
bits = frame[u'verseTag'].split(u':')
|
||||||
tag = None
|
tag = u'%s\n%s' % (bits[0][0], bits[1][0:] )
|
||||||
#If verse handle verse number else tag only
|
tag1 = u'%s%s' % (bits[0][0], bits[1][0:] )
|
||||||
if bits[0] == self.trUtf8('Verse') or \
|
row = tag
|
||||||
bits[0] == self.trUtf8('Chorus'):
|
|
||||||
tag = u'%s\n%s' % (bits[0][0], bits[1][0:] )
|
|
||||||
tag1 = u'%s%s' % (bits[0][0], bits[1][0:] )
|
|
||||||
row = tag
|
|
||||||
else:
|
|
||||||
tag = bits[0]
|
|
||||||
tag1 = tag
|
|
||||||
row = bits[0][0:1]
|
|
||||||
else:
|
else:
|
||||||
row += 1
|
row += 1
|
||||||
if self.isLive and frame[u'verseTag'] is not None:
|
if self.isLive and frame[u'verseTag'] is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user