diff --git a/scripting/kicad_pyshell/kicad_pyeditor.py b/scripting/kicad_pyshell/kicad_pyeditor.py index 8af209f264..10645d175b 100644 --- a/scripting/kicad_pyshell/kicad_pyeditor.py +++ b/scripting/kicad_pyshell/kicad_pyeditor.py @@ -118,7 +118,7 @@ class KiCadPyFrame(): def OnIconize(self, event): """Event handler for Iconize.""" - self.iconized = event.Iconized() + self.iconized = event.IsIconized() def __createMenus(self):