fix build failure

This commit is contained in:
wmayer
2022-10-16 11:46:48 +02:00
parent 1f08f07d38
commit f7f717db9e
+2 -2
View File
@@ -941,10 +941,10 @@ void StdCmdToggleSelectability::activated(int iMsg)
if (pr && pr->isDerivedFrom(ViewProviderGeometryObject::getClassTypeId())){
if (static_cast<ViewProviderGeometryObject*>(pr)->Selectable.getValue())
doCommand(Gui,"Gui.getDocument(\"%s\").getObject(\"%s\").Selectable=False"
, (*it)->getName(), (*ft)->getNameInDocument());
, (*it)->getName(), ft->getNameInDocument());
else
doCommand(Gui,"Gui.getDocument(\"%s\").getObject(\"%s\").Selectable=True"
, (*it)->getName(), (*ft)->getNameInDocument());
, (*it)->getName(), ft->getNameInDocument());
}
}
}