diff --git a/src/Mod/Sketcher/Gui/SketcherSettings.cpp b/src/Mod/Sketcher/Gui/SketcherSettings.cpp index eb742b5fec..dc69ebcad2 100644 --- a/src/Mod/Sketcher/Gui/SketcherSettings.cpp +++ b/src/Mod/Sketcher/Gui/SketcherSettings.cpp @@ -72,6 +72,7 @@ void SketcherSettings::saveSettings() ui->checkBoxRecalculateInitialSolutionWhileDragging->onSave(); ui->checkBoxEnableEscape->onSave(); ui->checkBoxNotifyConstraintSubstitutions->onSave(); + ui->checkBoxAutoRemoveRedundants->onSave(); form->saveSettings(); } @@ -82,6 +83,7 @@ void SketcherSettings::loadSettings() ui->checkBoxRecalculateInitialSolutionWhileDragging->onRestore(); ui->checkBoxEnableEscape->onRestore(); ui->checkBoxNotifyConstraintSubstitutions->onRestore(); + ui->checkBoxAutoRemoveRedundants->onRestore(); form->loadSettings(); } diff --git a/src/Mod/Sketcher/Gui/SketcherSettings.ui b/src/Mod/Sketcher/Gui/SketcherSettings.ui index f08bbf8319..8913c29bed 100644 --- a/src/Mod/Sketcher/Gui/SketcherSettings.ui +++ b/src/Mod/Sketcher/Gui/SketcherSettings.ui @@ -109,6 +109,25 @@ Requires to re-enter edit mode to take effect. General + + + + New constraints that would be redundant will automatically be removed + + + Auto remove redundants + + + false + + + AutoRemoveRedundants + + + Mod/Sketcher + + +