mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-05 04:38:10 +08:00
Why DatasourceImpl#refresh does nothing? #PL-5436
This commit is contained in:
parent
f4e8ad4a14
commit
8c47e4e7e3
@ -145,6 +145,12 @@ public class DatasourceImpl<T extends Entity>
|
||||
state = State.VALID;
|
||||
fireStateChanged(prevState);
|
||||
}
|
||||
if (item != null) {
|
||||
T prevItem = item;
|
||||
T reloadedItem = dataSupplier.reload(item, view);
|
||||
__setItem(reloadedItem);
|
||||
fireItemChanged(prevItem);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user