eric7/UI/Previewers/PreviewerQSS.py

branch
eric7
changeset 8864
4a0f7105dbd8
parent 8859
64252c7bfb87
child 8880
4b631598f752
diff -r 03e7c23a05b1 -r 4a0f7105dbd8 eric7/UI/Previewers/PreviewerQSS.py
--- a/eric7/UI/Previewers/PreviewerQSS.py	Tue Dec 28 15:02:01 2021 +0100
+++ b/eric7/UI/Previewers/PreviewerQSS.py	Tue Dec 28 15:04:17 2021 +0100
@@ -15,6 +15,7 @@
 )
 
 from EricWidgets.EricPathPicker import EricPathPickerModes
+from EricWidgets.EricApplication import ericApp
 
 from .Ui_PreviewerQSS import Ui_PreviewerQSS
 
@@ -37,8 +38,10 @@
         super().__init__(parent)
         self.setupUi(self)
         
+        styleIconsPath = ericApp().getStyleIconsPath()
         self.styleIconsPathPicker.setMode(
             EricPathPickerModes.DIRECTORY_SHOW_FILES_MODE)
+        self.styleIconsPathPicker.setDefaultDirectory(styleIconsPath)
         
         self.__lastEditor = None
         

eric ide

mercurial