From f7f717db9ef4e624149b1cea986647752ff4cd0e Mon Sep 17 00:00:00 2001 From: wmayer Date: Sun, 16 Oct 2022 11:46:48 +0200 Subject: [PATCH] fix build failure --- src/Gui/CommandView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Gui/CommandView.cpp b/src/Gui/CommandView.cpp index f4036485d4..a673d5a329 100644 --- a/src/Gui/CommandView.cpp +++ b/src/Gui/CommandView.cpp @@ -941,10 +941,10 @@ void StdCmdToggleSelectability::activated(int iMsg) if (pr && pr->isDerivedFrom(ViewProviderGeometryObject::getClassTypeId())){ if (static_cast(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()); } } }