- XGUI_Command* aToggledFeature = dynamic_cast<XGUI_Command*>(sender());
- aSkippedId = aToggledFeature->id();
- }
- QStringList anActionIdsList = myActions.keys();
- foreach(QString eachKey, anActionIdsList) {
- if (eachKey == aSkippedId) {
- continue;
- }
- myActions[eachKey]->setEnabled(false);
- }
- if (myWorkshop->isSalomeMode()) {
- myNestedActions = myWorkshop->salomeConnector()->nestedActions(aSkippedId);
- } else {
- XGUI_Command* aToggledFeature = dynamic_cast<XGUI_Command*>(sender());
- myNestedActions = aToggledFeature->unblockableCommands();