Przeglądaj źródła

Update of formatPanelSizer.Show() item parm to wxPython4

Markus Neteler 5 lat temu
rodzic
commit
3bacbf3c1f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      gui/wxpython/animation/dialogs.py

+ 1 - 1
gui/wxpython/animation/dialogs.py

@@ -1368,7 +1368,7 @@ class ExportDialog(wx.Dialog):
 
     def ChangeFormat(self, index):
         for i, panel in enumerate(self.formatPanels):
-            self.formatPanelSizer.Show(item=panel, show=(i == index))
+            self.formatPanelSizer.Show(window=panel, show=(i == index))
         self.formatPanelSizer.Layout()
 
     def OnFont(self, event):