diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2014-09-15 23:10:48 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2014-09-15 23:10:51 +0200 |
| commit | 2091b92a864c5839012cc0b1dd06c0aa521f1206 (patch) | |
| tree | 03fc3d8c61336095ed80d66f6d3372822892b628 /main/res/xml | |
| parent | f4a281397ed951223a1d5cf08ba104c6edeb61e6 (diff) | |
| download | cgeo-2091b92a864c5839012cc0b1dd06c0aa521f1206.zip cgeo-2091b92a864c5839012cc0b1dd06c0aa521f1206.tar.gz cgeo-2091b92a864c5839012cc0b1dd06c0aa521f1206.tar.bz2 | |
fix #4359: imperial units checkbox not always correct
This has been fixed by initializing the key to its default value instead
of just the checkbox. Also, better names have been used throughout the
settings to reflect the fact that "units" meant "use imperial units". It
was used in both ways, including the wrong way while migrating the
settings.
Diffstat (limited to 'main/res/xml')
| -rw-r--r-- | main/res/xml/preferences.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/res/xml/preferences.xml b/main/res/xml/preferences.xml index 78d79bd..362c633 100644 --- a/main/res/xml/preferences.xml +++ b/main/res/xml/preferences.xml @@ -430,7 +430,7 @@ android:title="@string/init_useenglish" /> <CheckBoxPreference android:defaultValue="false" - android:key="@string/pref_units" + android:key="@string/pref_units_imperial" android:summary="@string/init_summary_units" android:title="@string/init_units" /> </PreferenceScreen> |
