Explorar o código

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

Tomas Zigo %!s(int64=5) %!d(string=hai) anos
pai
achega
854a8a48f9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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('')