+ cppcheck fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user