From 72f846ca75880f8fe452df1afd89a6bfce275a54 Mon Sep 17 00:00:00 2001 From: vshcherb Date: Wed, 26 Feb 2014 22:12:28 +0100 Subject: [PATCH] Fix app mode selection in top widget --- OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java b/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java index 2be5b5db4a..32878fe3f8 100644 --- a/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java @@ -419,7 +419,7 @@ public class MapInfoLayer extends OsmandMapLayer { View confirmDialog = view.inflate(view.getContext(), R.layout.configuration_dialog, null); final ListView lv = (ListView) confirmDialog.findViewById(android.R.id.list); NavigateAction.prepareAppModeView(map, selected, true, - (ViewGroup) confirmDialog.findViewById(R.id.TopBar), false, + (ViewGroup) confirmDialog.findViewById(R.id.TopBar), true, new View.OnClickListener() { @Override public void onClick(View v) {