eric7/HelpViewer/HelpViewerImplQTB.py

branch
eric7
changeset 8705
327e596607f8
parent 8702
131ef7267fd4
child 8881
54e42bc2437a
diff -r e4042abf2a5b -r 327e596607f8 eric7/HelpViewer/HelpViewerImplQTB.py
--- a/eric7/HelpViewer/HelpViewerImplQTB.py	Wed Oct 20 19:45:22 2021 +0200
+++ b/eric7/HelpViewer/HelpViewerImplQTB.py	Wed Oct 20 19:47:18 2021 +0200
@@ -176,6 +176,15 @@
         
         return titleStr
     
+    def isEmptyPage(self):
+        """
+        Public method to check, if the current page is the empty page.
+        
+        @return flag indicating an empty page is loaded
+        @rtype bool
+        """
+        return self.pageTitle() == self.tr("Empty Page")
+    
     def mousePressEvent(self, evt):
         """
         Protected method called by a mouse press event.

eric ide

mercurial