From 2738b044abba66110601b8db6d794aaa5fdcde7d Mon Sep 17 00:00:00 2001 From: Nicolas Rechatin Date: Mon, 27 Sep 2021 13:37:40 +0200 Subject: [PATCH] fix execute errors --- src/OperaPlugin/OperaPlugin_AddNode.cpp | 1 - src/OperaPlugin/addnode_widget.xml | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OperaPlugin/OperaPlugin_AddNode.cpp b/src/OperaPlugin/OperaPlugin_AddNode.cpp index 9c67576d2..3908316c6 100644 --- a/src/OperaPlugin/OperaPlugin_AddNode.cpp +++ b/src/OperaPlugin/OperaPlugin_AddNode.cpp @@ -126,7 +126,6 @@ void OperaPlugin_AddNode::execute() return setError("Error: cannot perform an AddNode with no main object."); if(aToolList.empty()) return setError("Error: Tools list cannot be empty."); - aMainObjectAttr->context()->setDisabled(aMainObjectAttr->context(), true); // To avoid activation of the Part result //Perform Algorithm performAlgo(GeomAlgoAPI_Tools::BOOL_CUT, diff --git a/src/OperaPlugin/addnode_widget.xml b/src/OperaPlugin/addnode_widget.xml index adf237d15..89e424d76 100644 --- a/src/OperaPlugin/addnode_widget.xml +++ b/src/OperaPlugin/addnode_widget.xml @@ -2,7 +2,8 @@ + shape_types="solids" + concealment="true">