Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unpressing the button of the current action must behave like a validation if the...
[modules/shaper.git]
/
src
/
PartSet
/
PartSet_Module.cpp
diff --git
a/src/PartSet/PartSet_Module.cpp
b/src/PartSet/PartSet_Module.cpp
index d3eb60aa144bfcca3d313c82f3b293e5c475a8b7..1892f8b0a5ef1511c84e7199c05740cb9ccdbc8b 100755
(executable)
--- a/
src/PartSet/PartSet_Module.cpp
+++ b/
src/PartSet/PartSet_Module.cpp
@@
-796,7
+796,9
@@
bool PartSet_Module::deleteObjects()
void PartSet_Module::onFeatureTriggered()
{
void PartSet_Module::onFeatureTriggered()
{
- QAction* aCmd = dynamic_cast<QAction*>(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<QAction*>(sender());
if (aCmd->isCheckable() && aCmd->isChecked()) {
// 1. check whether the delete should be processed in the module
ModuleBase_Operation* anOperation = myWorkshop->currentOperation();
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());
}
}
launchOperation(aCmd->data().toString());
}
}
- }
+ }
*/
ModuleBase_IModule::onFeatureTriggered();
}
ModuleBase_IModule::onFeatureTriggered();
}