forked from openlp/openlp
fixed song editor regression
This commit is contained in:
parent
818fa36734
commit
643fa9436c
|
@ -256,8 +256,8 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog):
|
||||||
A QtGui.QKeyEvent event.
|
A QtGui.QKeyEvent event.
|
||||||
"""
|
"""
|
||||||
if event.key() in (QtCore.Qt.Key_Enter, QtCore.Qt.Key_Return):
|
if event.key() in (QtCore.Qt.Key_Enter, QtCore.Qt.Key_Return):
|
||||||
if self.authorsComboBox.hasFocus() and self.authorsComboBox.currentText():
|
if self.authors_combo_box.hasFocus() and self.authors_combo_box.currentText():
|
||||||
self.onAuthorAddButtonClicked()
|
self.on_author_add_button_clicked()
|
||||||
return
|
return
|
||||||
if self.topicsComboBox.hasFocus() and self.topicsComboBox.currentText():
|
if self.topicsComboBox.hasFocus() and self.topicsComboBox.currentText():
|
||||||
self.on_topic_add_button_clicked()
|
self.on_topic_add_button_clicked()
|
||||||
|
|
Loading…
Reference in New Issue