Another try at fixing settings on Maemo 5
authorEd Page <eopage@byu.net>
Wed, 20 Apr 2011 02:38:44 +0000 (21:38 -0500)
committerEd Page <eopage@byu.net>
Wed, 20 Apr 2011 02:38:44 +0000 (21:38 -0500)
src/dialogs.py

index 84fe3d8..97a0996 100644 (file)
@@ -419,8 +419,11 @@ class AccountDialog(QtCore.QObject, qwrappers.WindowWrapper):
 
        @qt_compat.Slot()
        @qt_compat.Slot(bool)
-       @misc_utils.log_exception(_moduleLogger)
        def _on_settings_apply(self, checked = False):
+               self._on_settings_apply(checked)
+
+       @misc_utils.log_exception(_moduleLogger)
+       def __on_settings_apply(self, checked = False):
                with qui_utils.notify_error(self._app.errorLog):
                        self.settingsApproved.emit()
                        self.hide()