mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
accept that lookup listeners sometimes close lookups (EA-33437)
This commit is contained in:
@@ -978,6 +978,9 @@ public class LookupImpl extends LightweightHint implements LookupEx, Disposable
|
||||
if (oldItem != item) {
|
||||
mySelectionInvariant = item == null ? null : myPresentableModel.getItemPresentationInvariant(item);
|
||||
fireCurrentItemChanged(item);
|
||||
if (myDisposed) { //a listener may have decided to close us, what can we do?
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (item != null) {
|
||||
updateHint(item);
|
||||
|
||||
Reference in New Issue
Block a user