[Sketcher] Add missing 'Auto remove redundant' to preferences

This commit is contained in:
0penBrain
2020-04-08 12:39:51 +02:00
committed by abdullahtahiriyo
parent 51fda743b0
commit c6fdc526dd
2 changed files with 21 additions and 0 deletions

View File

@@ -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();
}