From 76cb5f033c082f55aa8106c07e47f7016fc3df81 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):