Preferences/ConfigurationDialog.py

changeset 2408
dc3a7c9d8f6e
parent 2326
7a9c4dafae62
child 2474
8727522a69d5
diff -r b98cc8ee1142 -r dc3a7c9d8f6e Preferences/ConfigurationDialog.py
--- a/Preferences/ConfigurationDialog.py	Sun Feb 10 19:46:21 2013 +0100
+++ b/Preferences/ConfigurationDialog.py	Mon Feb 11 14:08:08 2013 +0100
@@ -22,11 +22,8 @@
 
 from Globals import isMacPlatform
 
-import QScintilla.Lexers
-
 import Preferences
 
-from .PreferencesLexer import PreferencesLexer, PreferencesLexerLanguageError
 import UI.PixmapCache
 
 from eric5config import getConfig
@@ -520,6 +517,9 @@
         """
         Private method to initialize the dictionary of preferences lexers.
         """
+        import QScintilla.Lexers
+        from .PreferencesLexer import PreferencesLexer, PreferencesLexerLanguageError
+        
         self.lexers = {}
         for language in QScintilla.Lexers.getSupportedLanguages():
             if language not in self.lexers:

eric ide

mercurial