Browse Source

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 8 years ago
parent
commit
2a77194a0c
1 changed files with 4 additions and 0 deletions
  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)
         super(HelpWindow, self).OnLinkClicked(linkinfo)
 
 
+    def LoadPage(self, path):
+        super(HelpWindow, self).LoadPage(path)
+        self.loaded = True
+
     def fillContentsFromFile(self, htmlFile, skipDescription=True):
     def fillContentsFromFile(self, htmlFile, skipDescription=True):
         """Load content from file.
         """Load content from file.