From 5e1c2d5205c2193b4b29218aa5b997f1d5ab3a46 Mon Sep 17 00:00:00 2001 From: Jon Tibble Date: Fri, 11 Sep 2009 22:50:23 +0100 Subject: [PATCH] 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'))