From: Youness Alaoui Date: Tue, 3 Feb 2015 17:20:53 +0000 (-0500) Subject: Fix issue with the machine settings X-Git-Tag: lulzbot-15.02.1-1.01~71 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=2bdcb1d703f9aa0e5474a3e1c5842388514c0b58;p=cura.git Fix issue with the machine settings 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. --- diff --git a/Cura/gui/mainWindow.py b/Cura/gui/mainWindow.py index a9c55fcc..6fb06a62 100644 --- a/Cura/gui/mainWindow.py +++ b/Cura/gui/mainWindow.py @@ -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()