Fixed an issue in the main window that could cause a traceback when changing the online state before the main window is fully initialized.

Sat, 11 Feb 2017 10:57:25 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 11 Feb 2017 10:57:25 +0100
changeset 5504
ba1134308a7b
parent 5503
20dd5c1e43ec
child 5506
9482a0ded319

Fixed an issue in the main window that could cause a traceback when changing the online state before the main window is fully initialized.

UI/UserInterface.py file | annotate | diff | comparison | revisions
--- a/UI/UserInterface.py	Fri Feb 10 19:49:38 2017 +0100
+++ b/UI/UserInterface.py	Sat Feb 11 10:57:25 2017 +0100
@@ -528,6 +528,11 @@
         e5App().registerObject("Symbols", self.symbolsViewer)
         e5App().registerObject("Numbers", self.numbersViewer)
         
+        # list of web addresses serving the versions file
+        self.__httpAlternatives = Preferences.getUI("VersionsUrls6")
+        self.__inVersionCheck = False
+        self.__versionCheckProgress = None
+        
         # Initialize the actions, menus, toolbars and statusbar
         splash.showMessage(self.tr("Initializing Actions..."))
         self.__initActions()
@@ -613,11 +618,6 @@
         # attribute for the help window
         self.helpWindow = None
         
-        # list of web addresses serving the versions file
-        self.__httpAlternatives = Preferences.getUI("VersionsUrls6")
-        self.__inVersionCheck = False
-        self.__versionCheckProgress = None
-        
         # set spellchecker defaults
         from QScintilla.SpellChecker import SpellChecker
         SpellChecker.setDefaultLanguage(

eric ide

mercurial