From d496e4ad0bc1d12339a5aa5c107751c579c814c6 Mon Sep 17 00:00:00 2001 From: Leonardo Zide Date: Sun, 14 Jul 2019 12:58:20 -0700 Subject: [PATCH] Fixed view sphere options being disabled incorrectly. --- qt/lc_qpreferencesdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/lc_qpreferencesdialog.cpp b/qt/lc_qpreferencesdialog.cpp index 5c6db2ac..7e5111d7 100644 --- a/qt/lc_qpreferencesdialog.cpp +++ b/qt/lc_qpreferencesdialog.cpp @@ -102,7 +102,7 @@ lcQPreferencesDialog::lcQPreferencesDialog(QWidget* Parent, lcPreferencesDialogO on_edgeLines_toggled(); on_gridStuds_toggled(); on_gridLines_toggled(); - on_ViewSphereSizeCombo_currentIndexChanged((int)mOptions->Preferences.mViewSphereLocation); + on_ViewSphereSizeCombo_currentIndexChanged(ui->ViewSphereSizeCombo->currentIndex()); updateCategories(); ui->categoriesTree->setCurrentItem(ui->categoriesTree->topLevelItem(0));