Fixed button contrast not disabled until the stud style is changed.

This commit is contained in:
Leonardo 2021-01-25 17:05:10 -08:00
parent 41aa31b7a4
commit 7e0b2f8090
2 changed files with 5 additions and 4 deletions

View file

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

View file

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>598</width>
<height>503</height>
<width>621</width>
<height>658</height>
</rect>
</property>
<property name="windowTitle">
@ -521,7 +521,7 @@
<item row="7" column="1">
<widget class="QToolButton" name="AutomateEdgeColorButton">
<property name="text">
<string>...</string>
<string>Settings...</string>
</property>
</widget>
</item>
@ -535,7 +535,7 @@
<item row="10" column="2">
<widget class="QToolButton" name="HighContrastButton">
<property name="text">
<string>...</string>
<string>Contrast Settings...</string>
</property>
</widget>
</item>