summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/preferences.cpp2
-rw-r--r--qt-ui/preferences.ui2
2 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/preferences.cpp b/qt-ui/preferences.cpp
index a373ef095..7f0a94c4c 100644
--- a/qt-ui/preferences.cpp
+++ b/qt-ui/preferences.cpp
@@ -90,7 +90,7 @@ void PreferencesDialog::setUiFromPrefs()
ui.psi->setChecked(prefs.units.pressure == units::PSI);
ui.liter->setChecked(prefs.units.volume == units::LITER);
ui.cuft->setChecked(prefs.units.volume == units::CUFT);
- ui.kgs->setChecked(prefs.units.weight == units::KG);
+ ui.kg->setChecked(prefs.units.weight == units::KG);
ui.lbs->setChecked(prefs.units.weight == units::LBS);
ui.font->setFont(QString(prefs.divelist_font));
diff --git a/qt-ui/preferences.ui b/qt-ui/preferences.ui
index aef83aa6f..345d2eca7 100644
--- a/qt-ui/preferences.ui
+++ b/qt-ui/preferences.ui
@@ -417,7 +417,7 @@
</widget>
</item>
<item row="4" column="1">
- <widget class="QRadioButton" name="kgs">
+ <widget class="QRadioButton" name="kg">
<property name="text">
<string>kg</string>
</property>