From 46a8598e7126b93f03d1f938642000b66c8a3e11 Mon Sep 17 00:00:00 2001 From: Abdullah Tahiri Date: Thu, 17 Aug 2017 22:54:19 +0200 Subject: [PATCH] CommandSketcherBSpline Increaseknot extended to comply with the convention: if not rethrowing, must report --- src/Mod/Sketcher/Gui/CommandSketcherBSpline.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Mod/Sketcher/Gui/CommandSketcherBSpline.cpp b/src/Mod/Sketcher/Gui/CommandSketcherBSpline.cpp index dfbb61df0e..7631cc9508 100644 --- a/src/Mod/Sketcher/Gui/CommandSketcherBSpline.cpp +++ b/src/Mod/Sketcher/Gui/CommandSketcherBSpline.cpp @@ -577,6 +577,7 @@ void CmdSketcherIncreaseKnotMultiplicity::activated(int iMsg) } catch (const Base::CADKernelError& e) { + e.ReportException(); if(e.getTranslatable()) { QMessageBox::warning(Gui::getMainWindow(), QObject::tr("CAD Kernel Error"), QObject::tr(e.getMessage().c_str())); @@ -584,7 +585,7 @@ void CmdSketcherIncreaseKnotMultiplicity::activated(int iMsg) getSelection().clearSelection(); } catch (const Base::Exception& e) { - + e.ReportException(); if(e.getTranslatable()) { QMessageBox::warning(Gui::getMainWindow(), QObject::tr("Input Error"), QObject::tr(e.getMessage().c_str()));