From bdaced63a31cf278addfcd9a419abb6b924426e2 Mon Sep 17 00:00:00 2001 From: Jon Tibble Date: Fri, 11 Sep 2009 22:34:05 +0100 Subject: [PATCH 1/2] Fix song list reloading bug --- openlp/plugins/songs/forms/editsongform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/plugins/songs/forms/editsongform.py b/openlp/plugins/songs/forms/editsongform.py index 08f34691b..a91bd5266 100644 --- a/openlp/plugins/songs/forms/editsongform.py +++ b/openlp/plugins/songs/forms/editsongform.py @@ -74,7 +74,7 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog): QtCore.QObject.connect(self.MaintenanceButton, QtCore.SIGNAL(u'clicked()'), self.onMaintenanceButtonClicked) QtCore.QObject.connect(self.TitleEditItem, - QtCore.SIGNAL(u'lostFocus()'), self.onTitleEditItemLostFocus) + QtCore.SIGNAL(u'editingFinished()'), self.onTitleEditItemLostFocus) QtCore.QObject.connect(self.CCLNumberEdit, QtCore.SIGNAL(u'lostFocus()'), self.onCCLNumberEditLostFocus) QtCore.QObject.connect(Receiver.get_receiver(), From 5e1c2d5205c2193b4b29218aa5b997f1d5ab3a46 Mon Sep 17 00:00:00 2001 From: Jon Tibble Date: Fri, 11 Sep 2009 22:50:23 +0100 Subject: [PATCH 2/2] Fix similar bugs with incorrect SIGNALs on QLineEdit --- openlp/core/ui/generaltab.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openlp/core/ui/generaltab.py b/openlp/core/ui/generaltab.py index 0752b51cc..9fdfdc1f1 100644 --- a/openlp/core/ui/generaltab.py +++ b/openlp/core/ui/generaltab.py @@ -120,11 +120,11 @@ class GeneralTab(SettingsTab): QtCore.QObject.connect(self.AutoOpenCheckBox, QtCore.SIGNAL(u'stateChanged(int)'), self.onAutoOpenCheckBoxChanged) QtCore.QObject.connect(self.NumberEdit, - QtCore.SIGNAL(u'lostFocus()'), self.onNumberEditLostFocus) + QtCore.SIGNAL(u'editingFinished()'), self.onNumberEditLostFocus) QtCore.QObject.connect(self.UsernameEdit, - QtCore.SIGNAL(u'lostFocus()'), self.onUsernameEditLostFocus) + QtCore.SIGNAL(u'editingFinished()'), self.onUsernameEditLostFocus) QtCore.QObject.connect(self.PasswordEdit, - QtCore.SIGNAL(u'lostFocus()'), self.onPasswordEditLostFocus) + QtCore.SIGNAL(u'editingFinished()'), self.onPasswordEditLostFocus) def retranslateUi(self): self.MonitorGroupBox.setTitle(translate(u'GeneralTab', u'Monitors'))