Fix small issue with context menu marker
This commit is contained in:
parent
48ef9256e2
commit
dfda09b8b7
1 changed files with 5 additions and 1 deletions
|
@ -1815,7 +1815,11 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven
|
|||
}
|
||||
|
||||
public void showQuickSearch(ShowQuickSearchMode mode, boolean showCategories) {
|
||||
hideContextMenu();
|
||||
if (mode == ShowQuickSearchMode.CURRENT) {
|
||||
mapContextMenu.close();
|
||||
} else {
|
||||
hideContextMenu();
|
||||
}
|
||||
QuickSearchDialogFragment fragment = getQuickSearchDialogFragment();
|
||||
if (mode == ShowQuickSearchMode.START_POINT_SELECTION || mode == ShowQuickSearchMode.DESTINATION_SELECTION) {
|
||||
if (fragment != null) {
|
||||
|
|
Loading…
Reference in a new issue