From c2bd5c35373eff9310cb7bb2aa54579012706601 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Mon, 9 Feb 2015 18:46:12 -0500 Subject: [PATCH] Set the following enabled as default: show axes, show scalemarkers, automatic reload. Fixes #1205 --- src/MainWindow.ui | 2 +- src/mainwin.cc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/MainWindow.ui b/src/MainWindow.ui index a92889b0..422b3b2c 100644 --- a/src/MainWindow.ui +++ b/src/MainWindow.ui @@ -348,8 +348,8 @@ - + diff --git a/src/mainwin.cc b/src/mainwin.cc index f175613c..5bea5e12 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -604,7 +604,7 @@ void MainWindow::loadViewSettings(){ viewActionShowEdges->setChecked(true); viewModeShowEdges(); } - if (settings.value("view/showAxes").toBool()) { + if (settings.value("view/showAxes", true).toBool()) { viewActionShowAxes->setChecked(true); viewModeShowAxes(); } @@ -612,7 +612,7 @@ void MainWindow::loadViewSettings(){ viewActionShowCrosshairs->setChecked(true); viewModeShowCrosshairs(); } - if (settings.value("view/showScaleProportional").toBool()) { + if (settings.value("view/showScaleProportional", true).toBool()) { viewActionShowScaleProportional->setChecked(true); viewModeShowScaleProportional(); } @@ -635,7 +635,7 @@ void MainWindow::loadViewSettings(){ void MainWindow::loadDesignSettings() { QSettings settings; - if (settings.value("design/autoReload").toBool()) { + if (settings.value("design/autoReload", true).toBool()) { designActionAutoReload->setChecked(true); } uint polySetCacheSize = Preferences::inst()->getValue("advanced/polysetCacheSize").toUInt();