Preferences/__init__.py

changeset 2408
dc3a7c9d8f6e
parent 2302
f29e9405c851
child 2412
0545dddf3d51
--- a/Preferences/__init__.py	Sun Feb 10 19:46:21 2013 +0100
+++ b/Preferences/__init__.py	Mon Feb 11 14:08:08 2013 +0100
@@ -31,8 +31,6 @@
 
 from E5Network.E5Ftp import E5FtpProxyType
 
-import QScintilla.Lexers
-
 from Globals import settingsNameOrganization, settingsNameGlobal, settingsNameRecent, \
     isWindowsPlatform, isLinuxPlatform, findPython2Interpreters
 
@@ -1708,6 +1706,8 @@
     prefClass.settings.beginGroup("Editor/LexerAssociations")
     keyList = prefClass.settings.childKeys()
     prefClass.settings.endGroup()
+    
+    import QScintilla.Lexers
     editorLexerAssocDefaults = QScintilla.Lexers.getDefaultLexerAssociations()
     
     if len(keyList) == 0:

eric ide

mercurial