From 7e0b2f8090f24438eac89b269fab0b28ca28b46d Mon Sep 17 00:00:00 2001 From: Leonardo Date: Mon, 25 Jan 2021 17:05:10 -0800 Subject: [PATCH] Fixed button contrast not disabled until the stud style is changed. --- qt/lc_qpreferencesdialog.cpp | 1 + qt/lc_qpreferencesdialog.ui | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/qt/lc_qpreferencesdialog.cpp b/qt/lc_qpreferencesdialog.cpp index 5cf873b5..c71773b8 100644 --- a/qt/lc_qpreferencesdialog.cpp +++ b/qt/lc_qpreferencesdialog.cpp @@ -200,6 +200,7 @@ lcQPreferencesDialog::lcQPreferencesDialog(QWidget* Parent, lcPreferencesDialogO SetButtonPixmap(mOptions->Preferences.mViewSphereTextColor, ui->ViewSphereTextColorButton); SetButtonPixmap(mOptions->Preferences.mViewSphereHighlightColor, ui->ViewSphereHighlightColorButton); + on_studStyleCombo_currentIndexChanged(ui->studStyleCombo->currentIndex()); on_antiAliasing_toggled(); on_AutomateEdgeColor_toggled(); on_edgeLines_toggled(); diff --git a/qt/lc_qpreferencesdialog.ui b/qt/lc_qpreferencesdialog.ui index c79712f3..6646cf1d 100644 --- a/qt/lc_qpreferencesdialog.ui +++ b/qt/lc_qpreferencesdialog.ui @@ -6,8 +6,8 @@ 0 0 - 598 - 503 + 621 + 658 @@ -521,7 +521,7 @@ - ... + Settings... @@ -535,7 +535,7 @@ - ... + Contrast Settings...