IDEMPIERE-6146 Recently access menu item: minor refresh refinement (#2365)

This commit is contained in:
hengsin 2024-05-17 19:59:22 +08:00 committed by Carlos Ruiz
parent eb4def6f86
commit 66819ecf79
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ public class GlobalSearch extends Div implements EventListener<Event> {
bandbox.addEventListener(Events.ON_CTRL_KEY, this);
bandbox.addEventListener(Events.ON_FOCUS, e -> {
bandbox.setOpen(true);
if (Util.isEmpty(bandbox.getValue(), true) && tabbox.getSelectedIndex() == 0)
if (tabbox.getSelectedIndex() == 0)
menuController.updateRecentItems();
});