forked from openlp/openlp
Add test to stop icons going over the limit
This commit is contained in:
parent
f060974054
commit
f3f3906ca0
@ -319,6 +319,8 @@ class SlideController(QtGui.QWidget):
|
||||
if item.verse_order:
|
||||
verses = item.verse_order.split(u' ')
|
||||
for verse in verses:
|
||||
if int(verse) > 12:
|
||||
break
|
||||
try:
|
||||
self.Songbar.actions[verse].setVisible(True)
|
||||
except:
|
||||
|
Loading…
Reference in New Issue
Block a user