fix missing activate items
This commit is contained in:
parent
6c7ea6e9ed
commit
d9a1647f1a
1 changed files with 1 additions and 1 deletions
|
@ -1115,7 +1115,7 @@ public class LocalIndexesFragment extends OsmandExpandableListFragment implement
|
|||
DirectionsDialogs.setupPopUpMenuIcon(optionsMenu);
|
||||
final boolean restore = info.isBackupedData();
|
||||
MenuItem item;
|
||||
if (info.getType() == LocalIndexType.MAP_DATA) {
|
||||
if ((info.getType() == LocalIndexType.MAP_DATA) || (info.getType() == LocalIndexType.DEACTIVATED)) {
|
||||
item = optionsMenu.getMenu().add(restore ? R.string.local_index_mi_restore : R.string.local_index_mi_backup)
|
||||
.setIcon(iconsCache.getContentIcon(R.drawable.ic_type_archive));
|
||||
item.setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() {
|
||||
|
|
Loading…
Reference in a new issue