From: Daid Date: Sun, 2 Sep 2012 12:26:39 +0000 (+0200) Subject: Some minor updates to fix some screen refresh issues. X-Git-Tag: 13.03~352 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=3a5faefb434c394e79d0f28dccf0e23de28ce510;p=cura.git Some minor updates to fix some screen refresh issues. --- diff --git a/Cura/gui/configBase.py b/Cura/gui/configBase.py index b5f8f85f..491d3325 100644 --- a/Cura/gui/configBase.py +++ b/Cura/gui/configBase.py @@ -84,6 +84,7 @@ class configWindowBase(wx.Frame): setting.SetValue(profile.getProfileSetting(setting.configName)) else: setting.SetValue(profile.getPreference(setting.configName)) + self.Update() class TitleRow(): def __init__(self, panel, name): diff --git a/Cura/gui/mainWindow.py b/Cura/gui/mainWindow.py index 5985d9b0..c12bb3a9 100644 --- a/Cura/gui/mainWindow.py +++ b/Cura/gui/mainWindow.py @@ -394,10 +394,10 @@ class mainWindow(configBase.configWindowBase): def OnPrint(self, e): if len(self.filelist) < 1: - wx.MessageBox('You need to load a file and slice it before you can print it.', 'Print error', wx.OK | wx.ICON_INFORMATION) + wx.MessageBox('You need to load a file and prepare it before you can print it.', 'Print error', wx.OK | wx.ICON_INFORMATION) return if not os.path.exists(sliceRun.getExportFilename(self.filelist[0])): - wx.MessageBox('You need to slice the file to GCode before you can print it.', 'Print error', wx.OK | wx.ICON_INFORMATION) + wx.MessageBox('You need to prepare a print before you can run the actual print.', 'Print error', wx.OK | wx.ICON_INFORMATION) return printWindow.printFile(sliceRun.getExportFilename(self.filelist[0])) diff --git a/Cura/gui/preview3d.py b/Cura/gui/preview3d.py index ddf52c9f..f1149ea0 100644 --- a/Cura/gui/preview3d.py +++ b/Cura/gui/preview3d.py @@ -327,6 +327,7 @@ class previewPanel(wx.Panel): if self.gcode != None: self.layerSpin.SetRange(1, len(self.gcode.layerList) - 1) self.toolbar.Realize() + self.Update() def OnViewChange(self): if self.normalViewButton.GetValue():