fixed bug-1170435

Fixes: https://launchpad.net/bugs/1170435
This commit is contained in:
Andreas Preikschat 2013-04-18 19:50:39 +02:00
parent 0ceaef7a51
commit b71d3e9e53

View File

@ -697,7 +697,7 @@ 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)
self.warning_label.setVisible(len(verses_not_used) > 0) 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):
text = self.copyright_edit.text() text = self.copyright_edit.text()