This commit is contained in:
Alexey Kulish 2016-10-13 19:24:46 +03:00
parent acf2e5a4a7
commit 26940b5171

View file

@ -550,7 +550,7 @@ public class ConfigureMapMenu {
b.setPositiveButton(R.string.shared_string_apply, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
view.getSettings().MAP_TRANSLITERATE_NAMES.set(transliterateNames);
view.getSettings().MAP_TRANSLITERATE_NAMES.set(selectedLanguageIndex > 0 && transliterateNames);
AlertDialog dlg = (AlertDialog) dialog;
int index = dlg.getListView().getCheckedItemPosition();
view.getSettings().MAP_PREFERRED_LOCALE.set(