mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-187808 "Typeahead timeout is exceeded" exception
Interrupt typeahead state when any DialogWrapper appears
This commit is contained in:
@@ -144,7 +144,6 @@ public class FindDialog extends DialogWrapper implements FindUI {
|
||||
|
||||
public FindDialog(FindUIHelper helper){
|
||||
super(helper.getProject(), true);
|
||||
UIUtil.markAsTypeAheadAware(getWindow());
|
||||
myHelper = helper;
|
||||
myProject = myHelper.getProject();
|
||||
|
||||
|
||||
@@ -40,7 +40,6 @@ import com.intellij.ui.mac.foundation.Foundation;
|
||||
import com.intellij.ui.mac.foundation.ID;
|
||||
import com.intellij.ui.mac.foundation.MacUtil;
|
||||
import com.intellij.util.IJSwingUtilities;
|
||||
import com.intellij.util.ReflectionUtil;
|
||||
import com.intellij.util.ui.GraphicsUtil;
|
||||
import com.intellij.util.ui.JBInsets;
|
||||
import com.intellij.util.ui.OwnerOptional;
|
||||
@@ -523,6 +522,7 @@ public class DialogWrapperPeerImpl extends DialogWrapperPeer {
|
||||
@NotNull ActionCallback typeAheadDone,
|
||||
ActionCallback typeAheadCallback) {
|
||||
super(owner);
|
||||
UIUtil.markAsTypeAheadAware(this);
|
||||
myDialogWrapper = new WeakReference<>(dialogWrapper);
|
||||
myProject = project != null ? new WeakReference<>(project) : null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user