diff --git a/src/Mod/Sketcher/Gui/SketcherSettings.cpp b/src/Mod/Sketcher/Gui/SketcherSettings.cpp index 68bf4a3b87..09a7ef4f5d 100644 --- a/src/Mod/Sketcher/Gui/SketcherSettings.cpp +++ b/src/Mod/Sketcher/Gui/SketcherSettings.cpp @@ -83,7 +83,7 @@ SketcherSettings::SketcherSettings(QWidget* parent) connect(ui->btnTVApply, SIGNAL(clicked(bool)), this, SLOT(onBtnTVApplyClicked(bool))); } -/** +/** * Destroys the object and frees any allocated resources */ SketcherSettings::~SketcherSettings() @@ -223,6 +223,7 @@ void SketcherSettingsColors::saveSettings() ui->NonDrivingConstraintColor->onSave(); ui->DatumColor->onSave(); ui->ExprBasedConstrDimColor->onSave(); + ui->DeactivatedConstrDimColor->onSave(); ui->SketcherDatumWidth->onSave(); ui->DefaultSketcherVertexWidth->onSave(); @@ -248,6 +249,7 @@ void SketcherSettingsColors::loadSettings() ui->NonDrivingConstraintColor->onRestore(); ui->DatumColor->onRestore(); ui->ExprBasedConstrDimColor->onRestore(); + ui->DeactivatedConstrDimColor->onRestore(); ui->SketcherDatumWidth->onRestore(); ui->DefaultSketcherVertexWidth->onRestore(); diff --git a/src/Mod/Sketcher/Gui/SketcherSettingsColors.ui b/src/Mod/Sketcher/Gui/SketcherSettingsColors.ui index 3c9d4eb405..1ba85872e2 100644 --- a/src/Mod/Sketcher/Gui/SketcherSettingsColors.ui +++ b/src/Mod/Sketcher/Gui/SketcherSettingsColors.ui @@ -371,6 +371,33 @@ + + + Deactivated constraint color + + + + + + + The color of deactivated constraints in edit mode + + + + 127 + 127 + 127 + + + + DeactivatedConstrDimColor + + + View + + + + @@ -383,7 +410,7 @@ - + The color of the datum portion of a driving constraint @@ -403,7 +430,7 @@ - + @@ -416,7 +443,7 @@ - + The default line thickness for new shapes @@ -438,7 +465,7 @@ - + @@ -451,7 +478,7 @@ - + The default line thickness for new shapes @@ -473,7 +500,7 @@ - + @@ -486,7 +513,7 @@ - + The default line thickness for new shapes @@ -508,7 +535,7 @@ - + @@ -521,7 +548,7 @@ - + @@ -538,7 +565,7 @@ - + @@ -551,7 +578,7 @@ - +