Explorar o código

wxGUI/forms: actually set the loaded attribute, so the forms OnPageChange doesn't reload all the time

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@69358 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras %!s(int64=8) %!d(string=hai) anos
pai
achega
2a77194a0c
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      gui/wxpython/gui_core/ghelp.py

+ 4 - 0
gui/wxpython/gui_core/ghelp.py

@@ -736,6 +736,10 @@ class HelpWindow(HtmlWindow):
 
         super(HelpWindow, self).OnLinkClicked(linkinfo)
 
+    def LoadPage(self, path):
+        super(HelpWindow, self).LoadPage(path)
+        self.loaded = True
+
     def fillContentsFromFile(self, htmlFile, skipDescription=True):
         """Load content from file.