Sketcher: 'B-spline' consistency

This commit is contained in:
Chris Hennes
2023-05-26 17:07:09 -06:00
committed by abdullahtahiriyo
parent a779ba3514
commit 103df5c541
2 changed files with 6 additions and 5 deletions

View File

@@ -200,9 +200,10 @@ public:
poleGeoIds.back());
}
catch (const Base::Exception& e) {
Gui::NotifyError(sketchgui,
QT_TRANSLATE_NOOP("Notifications", "Error"),
QT_TRANSLATE_NOOP("Notifications", "Error creating BSpline pole"));
Gui::NotifyError(
sketchgui,
QT_TRANSLATE_NOOP("Notifications", "Error"),
QT_TRANSLATE_NOOP("Notifications", "Error creating B-spline pole"));
Gui::Command::abortCommand();
static_cast<Sketcher::SketchObject*>(sketchgui->getObject())->solve();
@@ -514,7 +515,7 @@ private:
catch (const Base::Exception& e) {
Gui::NotifyError(sketchgui,
QT_TRANSLATE_NOOP("Notifications", "Error"),
QT_TRANSLATE_NOOP("Notifications", "Error creating B-Spline"));
QT_TRANSLATE_NOOP("Notifications", "Error creating B-spline"));
Gui::Command::abortCommand();
tryAutoRecomputeIfNotSolve(

View File

@@ -611,7 +611,7 @@ private:
catch (const Base::Exception& e) {
Gui::NotifyError(sketchgui,
QT_TRANSLATE_NOOP("Notifications", "Error"),
QT_TRANSLATE_NOOP("Notifications", "Error creating B-Spline"));
QT_TRANSLATE_NOOP("Notifications", "Error creating B-spline"));
Gui::Command::abortCommand();
tryAutoRecomputeIfNotSolve(