From: Youness Alaoui Date: Mon, 3 Aug 2015 20:58:47 +0000 (-0400) Subject: Layout the main window after reloading settings panel X-Git-Tag: lulzbot-15.02.1-2.01~40 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=f6d5566154ba34fe3e706173aaba01e175bd464f;p=cura.git Layout the main window after reloading settings panel This caused the expert settings panel to become blank when we reload either by adding/canceling a new machine, or changing selected machine. Fixes T172 --- diff --git a/Cura/gui/mainWindow.py b/Cura/gui/mainWindow.py index 38768ce1..d96f8eb7 100644 --- a/Cura/gui/mainWindow.py +++ b/Cura/gui/mainWindow.py @@ -488,6 +488,7 @@ class mainWindow(wx.Frame): self.leftSizer.Add(self.normalSettingsPanel, 1, wx.EXPAND) self.updateSliceMode(changedSliceMode) self.updateProfileToAllControls() + self.Layout() def updateMachineMenu(self): #Remove all items so we can rebuild the menu. Inserting items seems to cause crashes, so this is the safest way.