accept that lookup listeners sometimes close lookups (EA-33437)

This commit is contained in:
peter
2012-02-02 19:03:13 +01:00
parent 7d54095cce
commit d4a1214f78
@@ -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);