diff options
author | max-klaus <max.klaus@osmand.net> | 2019-10-21 18:34:04 +0300 |
---|---|---|
committer | max-klaus <max.klaus@osmand.net> | 2019-10-21 18:34:04 +0300 |
commit | 95201013215db9566dfe1222abee4ce12894cc4d (patch) | |
tree | e330eba9d2cb4fa34a0bbae4ccee8ae4a60716dc /OsmAnd | |
parent | ba24e53d8a28cc1c37099c317e847bffa790b3ed (diff) | |
download | Osmand-95201013215db9566dfe1222abee4ce12894cc4d.tar.gz |
Fix #7713
Diffstat (limited to 'OsmAnd')
-rw-r--r-- | OsmAnd/src/net/osmand/plus/activities/MapActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java index 5549953449..fb7014e85a 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java @@ -648,7 +648,7 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven } } if (mapContextMenu.isVisible() && mapContextMenu.isClosable()) { - if (mapContextMenu.getCurrentMenuState() != MenuState.HEADER_ONLY) { + if (mapContextMenu.getCurrentMenuState() != MenuState.HEADER_ONLY && !isLandscapeLayout()) { mapContextMenu.openMenuHeaderOnly(); } else { mapContextMenu.close(); |