[FEM] fix analysis activation issue
- after activating an analysis the FEM toolbar buttons did not become active
This commit is contained in:
@@ -114,6 +114,9 @@ bool ViewProviderFemAnalysis::doubleClicked(void)
|
||||
Gui::Command::doCommand(Gui::Command::Gui,
|
||||
"FemGui.setActiveAnalysis(App.activeDocument().%s)",
|
||||
this->getObject()->getNameInDocument());
|
||||
// After activation of the analysis the allowed FEM toolbar buttons should become active.
|
||||
// To achieve this we must clear the object selection to trigger the selection observer.
|
||||
Gui::Command::doCommand(Gui::Command::Gui, "Gui.Selection.clearSelection()");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user