Merge pull request #3297 from njohnston/marker_reverse_menu_item_fix
Only show "Reverse order" if there is more than one active marker
This commit is contained in:
commit
d9563786f7
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ public class MapMarkerDialogHelper {
|
|||
}
|
||||
});
|
||||
|
||||
if (!sorted) {
|
||||
if (!sorted && markersHelper.getActiveMapMarkers().size() > 1) {
|
||||
item = optionsMenu.getMenu().add(R.string.shared_string_reverse_order).setIcon(
|
||||
iconsCache.getThemedIcon(R.drawable.ic_action_undo_dark));
|
||||
item.setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() {
|
||||
|
|
Loading…
Reference in a new issue