aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 8f9478a6a..d758515e6 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -1246,7 +1246,8 @@ void MainWindow::on_profNdl_tts_clicked(bool triggered)
}
void MainWindow::turnOffNdlTts()
{
- const bool triggered = prefs.calcndltts = false;
+ const bool triggered = false;
+ prefs.calcndltts = triggered;
TOOLBOX_PREF_PROFILE(calcndltts);
}