Fixed an issue in the user interface.

Tue, 24 Sep 2013 18:58:09 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 24 Sep 2013 18:58:09 +0200
changeset 2933
ada56f070ef4
parent 2930
92973b701875
child 2934
82811ddafea2

Fixed an issue in the user interface.

UI/UserInterface.py file | annotate | diff | comparison | revisions
--- a/UI/UserInterface.py	Mon Sep 23 19:35:27 2013 +0200
+++ b/UI/UserInterface.py	Tue Sep 24 18:58:09 2013 +0200
@@ -233,8 +233,6 @@
         
         # now setup the connections
         splash.showMessage(self.trUtf8("Setting up connections..."))
-        app.focusChanged.connect(
-            self.viewmanager.appFocusChanged)
         self.browser.sourceFile[str].connect(
             self.viewmanager.openSourceFile)
         self.browser.sourceFile[str, int].connect(
@@ -447,7 +445,10 @@
         splash.showMessage(self.trUtf8("Initializing Statusbar..."))
         self.__initStatusbar()
         
-        # Initialise the instance variables.
+        # connect the appFocusChanged signal after all actions are ready
+        app.focusChanged.connect(self.viewmanager.appFocusChanged)
+        
+        # Initialize the instance variables.
         self.currentProg = None
         self.isProg = False
         self.utEditorOpen = False

eric ide

mercurial