mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-03 03:38:33 +08:00
Filter component has no focus if it is set as 'focusComponent' for window #PL-4884
This commit is contained in:
parent
68cf2c6669
commit
525b3e244e
@ -370,7 +370,13 @@ public class FilterDelegateImpl implements FilterDelegate {
|
||||
setFilterActionsEnabled();
|
||||
initFilterSelectComponents();
|
||||
}
|
||||
requestFocusToParamEditComponent();
|
||||
if (paramEditComponentToFocus != null)
|
||||
requestFocusToParamEditComponent();
|
||||
else if (filtersPopupDisplayed)
|
||||
filtersPopupButton.requestFocus();
|
||||
else if (filtersLookupDisplayed) {
|
||||
filtersLookup.requestFocus();
|
||||
}
|
||||
updateWindowCaption();
|
||||
});
|
||||
}
|
||||
@ -2031,6 +2037,8 @@ public class FilterDelegateImpl implements FilterDelegate {
|
||||
fillConditionsLayout(ConditionsFocusType.FIRST);
|
||||
requestFocusToParamEditComponent();
|
||||
updateFilterModifiedIndicator();
|
||||
} else {
|
||||
requestFocusToParamEditComponent();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user