Dialog: typeahed - dispose may be before context ste up

This commit is contained in:
Kirill Kalishev
2009-09-11 15:32:03 +04:00
parent 80f7a67f21
commit 5f9496f4ea
@@ -942,7 +942,7 @@ public class DialogWrapperPeerImpl extends DialogWrapperPeer implements FocusTra
}
private void flushEvents() {
if (myWrapper.isToDispatchTypeAhead()) {
if (myWrapper.isToDispatchTypeAhead() && myContextOnFinish != null) {
myContextOnFinish.dispatch(myEvents);
}
}