diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuTitleController.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuTitleController.java index 68319378f3..0f66be2924 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuTitleController.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuTitleController.java @@ -141,7 +141,6 @@ public abstract class MenuTitleController { protected void acquireStreetName() { if (searchingAddress) { cancelSearch = true; - searchingAddress = false; getMapActivity().getMyApplication().runInUIThread(new Runnable() { @Override public void run() { @@ -225,6 +224,9 @@ public abstract class MenuTitleController { @Override public boolean isCancelled() { + if (cancelSearch) { + searchingAddress = false; + } return cancelSearch; }