From 2bdcb1d703f9aa0e5474a3e1c5842388514c0b58 Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Tue, 3 Feb 2015 12:20:53 -0500 Subject: [PATCH] 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. --- Cura/gui/mainWindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.30.2