chiark / gitweb /
Some minor updates to fix some screen refresh issues.
authorDaid <daid303@gmail.com>
Sun, 2 Sep 2012 12:26:39 +0000 (14:26 +0200)
committerDaid <daid303@gmail.com>
Sun, 2 Sep 2012 12:26:39 +0000 (14:26 +0200)
Cura/gui/configBase.py
Cura/gui/mainWindow.py
Cura/gui/preview3d.py

index b5f8f85f2d55c49e034ae7eb78ce77bf3effd10f..491d33255fd60539417fe26d9eeb35bb44077cc8 100644 (file)
@@ -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):
index 5985d9b084f76991e6e33b04d3e91133e33285de..c12bb3a9518b78957cfc299b4952be22cdff4dca 100644 (file)
@@ -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]))
 
index ddf52c9f47b40fdffb782e4a2122a3a895d7c823..f1149ea02219d39941fcb321ae85822a9c99faee 100644 (file)
@@ -327,6 +327,7 @@ class previewPanel(wx.Panel):
                if self.gcode != None:\r
                        self.layerSpin.SetRange(1, len(self.gcode.layerList) - 1)\r
                self.toolbar.Realize()\r
+               self.Update()\r
        \r
        def OnViewChange(self):\r
                if self.normalViewButton.GetValue():\r