Explorar o código

wxGUI/forms: fix loading manual page for listbook style

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52947 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová %!s(int64=12) %!d(string=hai) anos
pai
achega
d0a96da7a7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gui/wxpython/gui_core/forms.py

+ 1 - 1
gui/wxpython/gui_core/forms.py

@@ -794,7 +794,7 @@ class CmdPanel(wx.Panel):
             self.notebook.Bind(FN.EVT_FLATNOTEBOOK_PAGE_CHANGED, self.OnPageChange)
         elif style == 3:
             self.notebook = FormListbook(self, style = wx.BK_LEFT)
-            self.notebook.Bind(wx.EVT_NOTEBOOK_PAGE_CHANGED, self.OnPageChange)
+            self.notebook.Bind(wx.EVT_LISTBOOK_PAGE_CHANGED, self.OnPageChange)
         self.notebook.Refresh()
 
         imageList = wx.ImageList(16, 16)