From 33f5f88be555c0ab4b8edba8f6ca3768f5eb9cac Mon Sep 17 00:00:00 2001 From: Aydar Mukhametzyanov Date: Fri, 28 Apr 2023 12:53:59 +0200 Subject: [PATCH] IDEA-231278 Set accessible status from the main thread GitOrigin-RevId: a40b02a66c455b98fa0b527957c434c948e57509 --- .../testframework/sm/runner/ui/SMTestRunnerResultsForm.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platform/smRunner/src/com/intellij/execution/testframework/sm/runner/ui/SMTestRunnerResultsForm.java b/platform/smRunner/src/com/intellij/execution/testframework/sm/runner/ui/SMTestRunnerResultsForm.java index 757e91ab9f00..25fd22b5062f 100644 --- a/platform/smRunner/src/com/intellij/execution/testframework/sm/runner/ui/SMTestRunnerResultsForm.java +++ b/platform/smRunner/src/com/intellij/execution/testframework/sm/runner/ui/SMTestRunnerResultsForm.java @@ -660,7 +660,9 @@ public class SMTestRunnerResultsForm extends TestResultsPanel // else color will be according failed/passed tests } - myTreeView.setAccessibleStatus(myStatusLine.getStateText()); + UIUtil.invokeLaterIfNeeded(() -> { + myTreeView.setAccessibleStatus(myStatusLine.getStateText()); + }); } private boolean isUndefined() {