IDEMPIERE-3814 Toolbar doesn't respect restriction when window is opened on a sub tab

This commit is contained in:
Nicolas Micoud 2018-11-11 18:31:51 -02:00
parent e98698cd89
commit 5e0a824d04
1 changed files with 3 additions and 3 deletions

View File

@ -369,14 +369,14 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
toolbar.enableFind(true);
adTabbox.evaluate(null);
toolbar.updateToolbarAccess(adWindowId);
updateToolbar();
if (detailQuery != null && zoomToDetailTab(detailQuery))
{
return true;
}
toolbar.updateToolbarAccess(adWindowId);
updateToolbar();
SessionManager.getAppDesktop().updateHelpContext(X_AD_CtxHelp.CTXTYPE_Tab, adTabbox.getSelectedGridTab().getAD_Tab_ID());
return true;