Preferences/ConfigurationPages/EditorHighlightingStylesPage.py

changeset 5976
549918576245
parent 5736
000ea446ff4b
child 6048
82ad8ec9548c
diff -r 3bc24855b254 -r 549918576245 Preferences/ConfigurationPages/EditorHighlightingStylesPage.py
--- a/Preferences/ConfigurationPages/EditorHighlightingStylesPage.py	Fri Nov 17 18:51:40 2017 +0100
+++ b/Preferences/ConfigurationPages/EditorHighlightingStylesPage.py	Sat Nov 18 12:35:13 2017 +0100
@@ -479,10 +479,13 @@
         @param lexers dictionary of lexer objects for which to import the
             styles
         """
+        from eric6config import getConfig
+        stylesDir = getConfig("ericStylesDir")
+        
         fn = E5FileDialog.getOpenFileName(
             self,
             self.tr("Import Highlighting Styles"),
-            "",
+            stylesDir,
             self.tr("Highlighting styles file (*.e4h)"))
         
         if not fn:

eric ide

mercurial