chiark / gitweb /
Changed shader editor to frame, so it can be closed on linux
authornallath <nallath@gmail.com>
Thu, 27 Feb 2014 13:40:16 +0000 (14:40 +0100)
committernallath <nallath@gmail.com>
Thu, 27 Feb 2014 13:40:16 +0000 (14:40 +0100)
Cura/gui/sceneView.py

index c5116f2966873cd4d042af2a60ff69f279ff3785..a83627550f642aab7a36c263ed3f8a7e124f99c4 100644 (file)
@@ -1372,7 +1372,7 @@ class SceneView(openglGui.glGuiPanel):
                return self._selectedObj.getMatrix()
 
 #TODO: Remove this or put it in a seperate file
-class shaderEditor(wx.Dialog):
+class shaderEditor(wx.Frame):
        def __init__(self, parent, callback, v, f):
                super(shaderEditor, self).__init__(parent, title="Shader editor", style=wx.DEFAULT_DIALOG_STYLE|wx.RESIZE_BORDER)
                self._callback = callback