IDEMPIERE-5074 Alt+Left Alt+Right not working when focus is lost (#1052)

This commit is contained in:
Carlos Ruiz 2021-12-16 08:07:28 +01:00 committed by GitHub
parent 08c7775f77
commit f067725e33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -1305,7 +1305,11 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
}
else if (event.getName().equals(ON_FOCUS_DEFER_EVENT)) {
HtmlBasedComponent comp = (HtmlBasedComponent) event.getData();
comp.focus();
if (comp instanceof ADTabpanel)
((ADTabpanel)comp).focusToFirstEditor(false);
else
comp.focus();
//
}
}