[FEM] [skip ci] Command.cpp: fix loo long line

This commit is contained in:
Uwe
2023-02-20 03:06:30 +01:00
parent 60e089d52a
commit b6d186ef73

View File

@@ -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<femsolver.elmer.solver.Proxy>();
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