From ff96e9f4977cbb40e3efe892144d0287fc7ce1f6 Mon Sep 17 00:00:00 2001 From: Arsentiy Milchakov Date: Mon, 4 Dec 2017 16:01:35 +0300 Subject: [PATCH] [editor] add language fix --- .../src/com/mapswithme/maps/editor/EditorHostFragment.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/android/src/com/mapswithme/maps/editor/EditorHostFragment.java b/android/src/com/mapswithme/maps/editor/EditorHostFragment.java index d5ce63cbeb..de376f5089 100644 --- a/android/src/com/mapswithme/maps/editor/EditorHostFragment.java +++ b/android/src/com/mapswithme/maps/editor/EditorHostFragment.java @@ -225,7 +225,6 @@ public class EditorHostFragment extends BaseMwmToolbarFragment for (LocalizedName name : sNames) languages.add(name.lang); args.putStringArrayList(LanguagesFragment.EXISTING_LOCALIZED_NAMES, languages); - UiUtils.hide(mToolbarController.findViewById(R.id.save)); editWithFragment(Mode.LANGUAGE, R.string.choose_language, args, LanguagesFragment.class, false); } @@ -286,6 +285,9 @@ public class EditorHostFragment extends BaseMwmToolbarFragment Editor.nativeSetSelectedCuisines(cuisines); editMapObject(); break; + case LANGUAGE: + editMapObject(); + break; case MAP_OBJECT: if (!setEdits()) return;