From 3f4d5946e8c7d008501cf3ce071a5bd2d8d6fdfc Mon Sep 17 00:00:00 2001 From: nallath Date: Thu, 27 Feb 2014 14:40:16 +0100 Subject: [PATCH] Changed shader editor to frame, so it can be closed on linux --- Cura/gui/sceneView.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cura/gui/sceneView.py b/Cura/gui/sceneView.py index c5116f29..a8362755 100644 --- a/Cura/gui/sceneView.py +++ b/Cura/gui/sceneView.py @@ -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 -- 2.30.2