diff --git a/src/Mod/Fem/Gui/Command.cpp b/src/Mod/Fem/Gui/Command.cpp index 593e6cd900..5ad3c39a00 100644 --- a/src/Mod/Fem/Gui/Command.cpp +++ b/src/Mod/Fem/Gui/Command.cpp @@ -1495,7 +1495,8 @@ bool CmdFemCompEmEquations::isActive() return false; // only activate if a single Elmer object is selected - auto results = getSelection().getSelectionEx(nullptr, App::DocumentObject::getClassTypeId(), Gui::ResolveMode::FollowLink); //.getObjectsOfType(); + auto results = getSelection().getSelectionEx( + nullptr, App::DocumentObject::getClassTypeId(), Gui::ResolveMode::FollowLink); if (results.size() == 1) { auto object = results.begin()->getObject(); // FIXME: this is not unique since the Ccx solver object has the same type @@ -1506,6 +1507,7 @@ bool CmdFemCompEmEquations::isActive() return false; } + //================================================================================================ //================================================================================================ // commands vtk post processing