Preferences/__init__.py

branch
Py2 comp.
changeset 2552
1e893ea4e366
parent 2550
e15087ddb41e
child 2573
71837b5366d5
--- a/Preferences/__init__.py	Thu Mar 28 17:01:05 2013 +0100
+++ b/Preferences/__init__.py	Thu Mar 28 20:09:00 2013 +0100
@@ -1113,6 +1113,9 @@
     QCoreApplication.setOrganizationName(settingsNameOrganization)
     QCoreApplication.setApplicationName(settingsNameGlobal)
     
+    # Avoid nasty behavior of QSettings in combination with Py2
+    Prefs.settings.value("UI/SingleApplicationMode")    
+    
 
 def syncPreferences(prefClass=Prefs):
     """

eric ide

mercurial