chiark / gitweb /
Layout the main window after reloading settings panel
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Mon, 3 Aug 2015 20:58:47 +0000 (16:58 -0400)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Mon, 3 Aug 2015 20:58:47 +0000 (16:58 -0400)
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

Cura/gui/mainWindow.py

index 38768ce1881e05198950db4e6f6cf01d90cc53ed..d96f8eb797ad11945c853bb2f08e0f141a346137 100644 (file)
@@ -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.