mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-05 04:38:10 +08:00
PL-8676 NPE while adding condition to the filter with null caption
This commit is contained in:
parent
74509568c9
commit
c0bcea84d5
@ -960,6 +960,9 @@ public class FilterDelegateImpl implements FilterDelegate {
|
||||
saveAction.setEnabled(filterSavingPossible && filterModified);
|
||||
|
||||
String currentCaption = groupBoxLayout.getCaption();
|
||||
if (StringUtils.isEmpty(currentCaption))
|
||||
return;
|
||||
|
||||
if (filterModified && !currentCaption.endsWith(MODIFIED_INDICATOR_SYMBOL)) {
|
||||
groupBoxLayout.setCaption(currentCaption + MODIFIED_INDICATOR_SYMBOL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user