+ cppcheck fixes
This commit is contained in:
parent
9c2f454160
commit
458e0727f5
|
@ -796,7 +796,7 @@ void StdCmdToggleObjects::activated(int iMsg)
|
|||
(App::DocumentObject::getClassTypeId());
|
||||
|
||||
for (std::vector<App::DocumentObject*>::const_iterator it=obj.begin();it!=obj.end();++it) {
|
||||
if (doc && doc->isShow((*it)->getNameInDocument()))
|
||||
if (doc->isShow((*it)->getNameInDocument()))
|
||||
doCommand(Gui,"Gui.getDocument(\"%s\").getObject(\"%s\").Visibility=False"
|
||||
, app->getName(), (*it)->getNameInDocument());
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user