Fix edit text preference
This commit is contained in:
parent
c9a0ecd240
commit
2bdcab3115
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue