X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FPartSet%2FPartSet_Module.cpp;h=1892f8b0a5ef1511c84e7199c05740cb9ccdbc8b;hb=c8ab29e531ee03054976a7606076f2c4ee1d9f6b;hp=d3eb60aa144bfcca3d313c82f3b293e5c475a8b7;hpb=5b4e69308550c299e14f336d489dc0aefbc5d6f4;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_Module.cpp b/src/PartSet/PartSet_Module.cpp index d3eb60aa1..1892f8b0a 100755 --- a/src/PartSet/PartSet_Module.cpp +++ b/src/PartSet/PartSet_Module.cpp @@ -796,7 +796,9 @@ bool PartSet_Module::deleteObjects() void PartSet_Module::onFeatureTriggered() { - QAction* aCmd = dynamic_cast(sender()); + // is commented for imp: Unpressing the button of the current action must behave like + // a validation if the entity can be created (instead of Cancel, as currently) + /*QAction* aCmd = dynamic_cast(sender()); if (aCmd->isCheckable() && aCmd->isChecked()) { // 1. check whether the delete should be processed in the module ModuleBase_Operation* anOperation = myWorkshop->currentOperation(); @@ -811,7 +813,7 @@ void PartSet_Module::onFeatureTriggered() launchOperation(aCmd->data().toString()); } } - } + }*/ ModuleBase_IModule::onFeatureTriggered(); }