forked from openlp/openlp
clean ups
This commit is contained in:
parent
e7f553afb1
commit
31aaafa254
@ -697,7 +697,6 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog):
|
|||||||
for verse in verses:
|
for verse in verses:
|
||||||
if not verse in order:
|
if not verse in order:
|
||||||
verses_not_used.append(verse)
|
verses_not_used.append(verse)
|
||||||
print len(verses_not_used)
|
|
||||||
self.warning_label.setVisible(len(verses_not_used) > 0 and bool(text))
|
self.warning_label.setVisible(len(verses_not_used) > 0 and bool(text))
|
||||||
|
|
||||||
def on_copyright_insert_button_triggered(self):
|
def on_copyright_insert_button_triggered(self):
|
||||||
|
@ -46,7 +46,7 @@ class TestEditSongForm(TestCase):
|
|||||||
def is_verse_edit_form_executed_t(self):
|
def is_verse_edit_form_executed_t(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def verse_order_warning_hidden_(self):
|
def verse_order_warning_hidden_test(self):
|
||||||
"""
|
"""
|
||||||
Test if the verse order warning lable is visible, when a verse order is specified
|
Test if the verse order warning lable is visible, when a verse order is specified
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user