chiark / gitweb /
Add black borders around the white text, so it pops out more.
[cura.git] / Cura / gui / mainWindow.py
index 309e7f593290279e88c06ec0a1897a4366dbe885..0af0d6931892b4e30d2a9e01417a4458b9f399c9 100644 (file)
@@ -519,7 +519,9 @@ class mainWindow(wx.Frame):
                        if not isSimple:
                                self.normalSashPos = self.splitter.GetSashPosition()
                        profile.putPreference('window_normal_sash', self.normalSashPos)
-                       
+
+               #HACK: Set the paint function of the glCanvas to nothing so it won't keep refreshing. Which keeps wxWidgets from quiting.
+               self.preview3d.glCanvas.OnPaint = lambda e : e
                self.Destroy()
 
        def OnQuit(self, e):