fix warning: lambda capture 'this' is not used [-Wunused-lambda-capture]

This commit is contained in:
wmayer
2018-02-10 12:42:41 +01:00
parent cc715465d0
commit 707bbee6ae
2 changed files with 17 additions and 15 deletions

View File

@@ -150,7 +150,9 @@ void ViewProvider::unsetEdit(int ModNum)
if (ModNum == ViewProvider::Default) {
// when pressing ESC make sure to close the dialog
#if 0
PartDesign::Body* activeBody = Gui::Application::Instance->activeView()->getActiveObject<PartDesign::Body*>(PDBODYKEY);
#endif
Gui::Control().closeDialog();
#if 0
if ((activeBody != NULL) && (oldTip != NULL)) {