mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
xdebugger: rebuild standalone variables view on EDT
This commit is contained in:
+8
-2
@@ -16,6 +16,7 @@
|
||||
package com.intellij.xdebugger.impl.frame;
|
||||
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.ui.AppUIUtil;
|
||||
import com.intellij.xdebugger.evaluation.XDebuggerEditorsProvider;
|
||||
import com.intellij.xdebugger.frame.XStackFrame;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
@@ -33,7 +34,12 @@ public class XStandaloneVariablesView extends XVariablesViewBase {
|
||||
}
|
||||
|
||||
public void rebuildView() {
|
||||
saveCurrentTreeState(myStackFrame);
|
||||
buildTreeAndRestoreState(myStackFrame);
|
||||
AppUIUtil.invokeLaterIfProjectAlive(getTree().getProject(), new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
saveCurrentTreeState(myStackFrame);
|
||||
buildTreeAndRestoreState(myStackFrame);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user