chiark / gitweb /
Fix issue with the machine settings
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Tue, 3 Feb 2015 17:20:53 +0000 (12:20 -0500)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Tue, 3 Feb 2015 17:21:16 +0000 (12:21 -0500)
Since commit id f870e36d563a85c9e7a23a262e09a5749d3b3dce we get an error
trying to close the machine settings or when removing or adding a machine
through the machine settings window. This should fix it.

Cura/gui/mainWindow.py

index a9c55fccb95878fd8b69579e5b5c1c69fb607fb6..6fb06a62e61ce4692b8d44430ad725a4a0d113e7 100644 (file)
@@ -445,7 +445,7 @@ class mainWindow(wx.Frame):
                self.normalSettingsPanel.updateProfileToControls()
                self.simpleSettingsPanel.updateProfileToControls()
 
-       def reloadSettingPanels(self, changedSliceMode):
+       def reloadSettingPanels(self, changedSliceMode = False):
                self.leftSizer.Detach(self.simpleSettingsPanel)
                self.leftSizer.Detach(self.normalSettingsPanel)
                self.simpleSettingsPanel.Destroy()