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

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 11 Feb 2017 10:57:25 +0100
branch
maintenance
changeset 5505
53aee4b35f34
parent 5502
0c11d92cb6be
child 5528
c086f6b5a0e8

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

UI/UserInterface.py file | annotate | diff | comparison | revisions
--- a/UI/UserInterface.py	Thu Feb 09 19:52:17 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