From 367c763c8cb671dda28a6e7593dc22404b2bd228 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Fri, 1 Jun 2018 08:21:36 +0200 Subject: [PATCH] Material: Editor, fix open the editor without mat --- src/Mod/Material/MaterialEditor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Material/MaterialEditor.py b/src/Mod/Material/MaterialEditor.py index 18d29c93af..8033923874 100644 --- a/src/Mod/Material/MaterialEditor.py +++ b/src/Mod/Material/MaterialEditor.py @@ -309,7 +309,7 @@ def openEditor(obj = None, prop = None): """openEditor([obj,prop]): opens the editor, optionally with an object name and material property name to edit""" editor = MaterialEditor(obj,prop) - editor.show() + editor.exec_() def editMaterial(material):