Fix edit text preference

This commit is contained in:
Victor Shcherb 2012-05-26 19:20:05 +02:00
parent c9a0ecd240
commit 2bdcab3115

View file

@ -159,7 +159,7 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference
public EditTextPreference createEditTextPreference(OsmandPreference<String> b, int title, int summary){
EditTextPreference p = new EditTextPreference(this);
p.setTitle(title);
p.setKey(b.get());
p.setKey(b.getId());
p.setDialogTitle(title);
p.setSummary(summary);
p.setOnPreferenceChangeListener(this);