Browse Source

wxGUI Manage color rules interactively (vector map): fix wx.CollapsiblePane widget layout (#449)

Tomas Zigo 5 years ago
parent
commit
7ac1713422
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/wxpython/modules/colorrules.py

+ 1 - 1
gui/wxpython/modules/colorrules.py

@@ -1251,7 +1251,7 @@ class VectorColorTable(ColorTable):
 
     def OnPaneChanged(self, event=None):
         # redo the layout
-        self.Layout()
+        self.panel.Layout()
         # and also change the labels
         if self.cp.IsExpanded():
             self.cp.SetLabel('')