Sketcher: Settings - Deactivated constraints color selection

This commit is contained in:
Abdullah Tahiri
2019-06-22 06:52:20 +02:00
committed by abdullahtahiriyo
parent 3facea7ed0
commit a97bb669a9
2 changed files with 41 additions and 12 deletions

View File

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