summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences/preferences_log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/preferences/preferences_log.cpp')
-rw-r--r--desktop-widgets/preferences/preferences_log.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop-widgets/preferences/preferences_log.cpp b/desktop-widgets/preferences/preferences_log.cpp
index 9025945e3..d9f33e6c7 100644
--- a/desktop-widgets/preferences/preferences_log.cpp
+++ b/desktop-widgets/preferences/preferences_log.cpp
@@ -70,6 +70,7 @@ void PreferencesLog::refreshSettings()
ui->show_average_depth->setChecked(prefs.show_average_depth);
ui->displayinvalid->setChecked(qPrefDisplay::display_invalid_dives());
ui->extraEnvironmentalDefault->setChecked(prefs.extraEnvironmentalDefault);
+ ui->salinityEditDefault->setChecked(prefs.salinityEditDefault);
}
void PreferencesLog::syncSettings()
@@ -87,4 +88,5 @@ void PreferencesLog::syncSettings()
qPrefLog::set_show_average_depth(ui->show_average_depth->isChecked());
qPrefDisplay::set_display_invalid_dives(ui->displayinvalid->isChecked());
qPrefLog::set_extraEnvironmentalDefault(ui->extraEnvironmentalDefault->isChecked());
+ qPrefLog::set_salinityEditDefault(ui->salinityEditDefault->isChecked());
}