mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[threading] IJPL-222592: Expand expression in debugger in write-intent read action
GitOrigin-RevId: 4f81dc2984edea9ce4d8a1b5a049775969cbb4ae
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d77a7e34b4
commit
6ae3e6ed7f
@@ -27,7 +27,10 @@ import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.ui.popup.JBPopup;
|
||||
import com.intellij.openapi.ui.popup.JBPopupFactory;
|
||||
import com.intellij.openapi.ui.popup.ListPopup;
|
||||
import com.intellij.openapi.util.*;
|
||||
import com.intellij.openapi.util.IconLoader;
|
||||
import com.intellij.openapi.util.Key;
|
||||
import com.intellij.openapi.util.NlsContexts;
|
||||
import com.intellij.openapi.util.Pair;
|
||||
import com.intellij.openapi.wm.IdeFocusManager;
|
||||
import com.intellij.psi.PsiElement;
|
||||
import com.intellij.reference.SoftReference;
|
||||
@@ -112,7 +115,9 @@ public abstract class XDebuggerEditorBase implements Expandable {
|
||||
new ClickListener() {
|
||||
@Override
|
||||
public boolean onClick(@NotNull MouseEvent e, int clickCount) {
|
||||
expand();
|
||||
WriteIntentReadAction.run(() -> {
|
||||
expand();
|
||||
});
|
||||
return true;
|
||||
}
|
||||
}.installOn(myExpandButton);
|
||||
|
||||
Reference in New Issue
Block a user