forked from openlp/openlp
Added a comment referencing bug #812628 so that we know why we added a seemingly redundant if statement.
This commit is contained in:
parent
5a42c87a92
commit
591d70cde6
@ -362,6 +362,8 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog):
|
||||
def onAuthorAddButtonClicked(self):
|
||||
item = int(self.authorsComboBox.currentIndex())
|
||||
text = unicode(self.authorsComboBox.currentText()).strip(u' \r\n\t')
|
||||
# This if statement is for OS X, which doesn't seem to work well with
|
||||
# the QCompleter autocompletion class. See bug #812628.
|
||||
if text in self.authors:
|
||||
# Index 0 is a blank string, so add 1
|
||||
item = self.authors.index(text) + 1
|
||||
|
Loading…
Reference in New Issue
Block a user