FindFileWidget: adde code to ensure the file type tab is the current one upon startup. eric7

Sun, 09 Jan 2022 17:43:29 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 09 Jan 2022 17:43:29 +0100
branch
eric7
changeset 8917
18901f50f971
parent 8916
952273203eec
child 8918
2167e507b277

FindFileWidget: adde code to ensure the file type tab is the current one upon startup.

eric7/UI/FindFileWidget.py file | annotate | diff | comparison | revisions
--- a/eric7/UI/FindFileWidget.py	Sun Jan 09 17:10:23 2022 +0100
+++ b/eric7/UI/FindFileWidget.py	Sun Jan 09 17:43:29 2022 +0100
@@ -132,6 +132,9 @@
                 "FindFileWidget/ExcludeHidden", True)
         ))
         
+        # ensure the file type tab is the current one
+        self.fileOptionsWidget.setCurrentWidget(self.fileTypeTab)
+        
         self.project = project
         self.project.projectOpened.connect(self.__projectOpened)
         self.project.projectClosed.connect(self.__projectClosed)

eric ide

mercurial