[Sketcher] Add missing 'Auto remove redundant' to preferences
This commit is contained in:
committed by
abdullahtahiriyo
parent
51fda743b0
commit
c6fdc526dd
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -109,6 +109,25 @@ Requires to re-enter edit mode to take effect.</string>
|
||||
<string>General</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_22">
|
||||
<item>
|
||||
<widget class="Gui::PrefCheckBox" name="checkBoxAutoRemoveRedundants">
|
||||
<property name="toolTip">
|
||||
<string>New constraints that would be redundant will automatically be removed</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Auto remove redundants</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="prefEntry" stdset="0">
|
||||
<cstring>AutoRemoveRedundants</cstring>
|
||||
</property>
|
||||
<property name="prefPath" stdset="0">
|
||||
<cstring>Mod/Sketcher</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Gui::PrefCheckBox" name="checkBoxEnableEscape">
|
||||
<property name="toolTip">
|
||||
|
||||
Reference in New Issue
Block a user