src/eric7/HelpViewer/HelpViewerWidget.py

branch
eric7
changeset 11215
d07c71a34adf
parent 11148
15e30f0c76a8
child 11216
a1471981ef18
--- a/src/eric7/HelpViewer/HelpViewerWidget.py	Thu Apr 10 18:36:24 2025 +0200
+++ b/src/eric7/HelpViewer/HelpViewerWidget.py	Thu Apr 10 18:39:29 2025 +0200
@@ -348,6 +348,8 @@
         if Preferences.getHelp("QtHelpSearchNewOnStart"):
             QTimer.singleShot(50, self.__lookForNewDocumentation)
 
+        self.__ui.shutdown.connect(self.__shutdown)
+
     def __addNavigationButton(self, iconName, toolTip):
         """
         Private method to create and add a navigation button.
@@ -493,9 +495,9 @@
             if searchWord:
                 self.searchQtHelp(searchWord)
 
-    def shutdown(self):
+    def __shutdown(self):
         """
-        Public method to perform shut down actions.
+        Private method to perform shut down actions.
         """
         self.__helpSearchEngine.cancelIndexing()
         self.__helpSearchEngine.cancelSearching()

eric ide

mercurial