Signed-off-by: Anton Lundin <[email protected]>
---
 qt-ui/mainwindow.cpp | 4 ++--
 qt-ui/mainwindow.h   | 2 +-
 qt-ui/mainwindow.ui  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 02ac233..a451d7e 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -636,7 +636,7 @@ void MainWindow::readSettings()
        ui.profEad->setChecked(s.value("ead").toBool());
        ui.profIncrement3m->setChecked(s.value("calcceiling3m").toBool());
        ui.profMod->setChecked(s.value("mod").toBool());
-       ui.profNtl_tts->setChecked(s.value("calcndltts").toBool());
+       ui.profNdl_tts->setChecked(s.value("calcndltts").toBool());
        ui.profPhe->setChecked(s.value("phegraph").toBool());
        ui.profPn2->setChecked(s.value("pn2graph").toBool());
        ui.profPO2->setChecked(s.value("po2graph").toBool());
@@ -1073,7 +1073,7 @@ void MainWindow::on_profMod_toggled(bool triggered)
        prefs.mod = triggered;
        TOOLBOX_PREF_PROFILE(mod);
 }
-void MainWindow::on_profNtl_tts_toggled(bool triggered)
+void MainWindow::on_profNdl_tts_toggled(bool triggered)
 {
        prefs.calc_ndl_tts = triggered;
        TOOLBOX_PREF_PROFILE(calcndltts);
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index 1db3d5a..357e0c4 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -135,7 +135,7 @@ slots:
        void on_profEad_toggled(bool triggered);
        void on_profIncrement3m_toggled(bool triggered);
        void on_profMod_toggled(bool triggered);
-       void on_profNtl_tts_toggled(bool triggered);
+       void on_profNdl_tts_toggled(bool triggered);
        void on_profPO2_toggled(bool triggered);
        void on_profPhe_toggled(bool triggered);
        void on_profPn2_toggled(bool triggered);
diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui
index accfe47..45c4531 100644
--- a/qt-ui/mainwindow.ui
+++ b/qt-ui/mainwindow.ui
@@ -368,7 +368,7 @@
                   </widget>
                  </item>
                  <item>
-                  <widget class="QToolButton" name="profNtl_tts">
+                  <widget class="QToolButton" name="profNdl_tts">
                    <property name="toolTip">
                     <string>Show NTL / TTS</string>
                    </property>
-- 
1.8.3.2

_______________________________________________
subsurface mailing list
[email protected]
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to