add item to main from hidden if main size < 4
This commit is contained in:
parent
66060f78b2
commit
08829e7dca
1 changed files with 3 additions and 0 deletions
|
@ -341,6 +341,9 @@ public class ConfigureMenuItemsFragment extends BaseOsmAndFragment
|
|||
}
|
||||
} else {
|
||||
hiddenMenuItems.remove(id);
|
||||
if (screenType == ScreenType.CONTEXT_MENU_ACTIONS && mainActionItems.size() < MAIN_BUTTONS_QUANTITY) {
|
||||
mainActionItems.add(id);
|
||||
}
|
||||
}
|
||||
wasReset = false;
|
||||
isChanged = true;
|
||||
|
|
Loading…
Reference in a new issue