Add test to stop icons going over the limit

This commit is contained in:
Tim Bentley 2009-11-08 09:09:23 +00:00
parent f060974054
commit f3f3906ca0

View File

@ -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: