From ac3a91006164b95e27b6b99b9aa40c273685c6aa Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 4 Jun 2012 21:25:37 +0200 Subject: [PATCH] expand the usage view tree when creating it with predefined usages (e.g. from Goto Class) --- .../usageView/src/com/intellij/usages/impl/UsageViewImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/usageView/src/com/intellij/usages/impl/UsageViewImpl.java b/platform/usageView/src/com/intellij/usages/impl/UsageViewImpl.java index c0219c6ced28..5e86945abc3e 100644 --- a/platform/usageView/src/com/intellij/usages/impl/UsageViewImpl.java +++ b/platform/usageView/src/com/intellij/usages/impl/UsageViewImpl.java @@ -862,7 +862,7 @@ public class UsageViewImpl implements UsageView, UsageModelTracker.UsageModelTra public void setSearchInProgress(boolean searchInProgress) { mySearchInProgress = searchInProgress; if (!myPresentation.isDetachedMode()) { - UIUtil.invokeLaterIfNeeded(new Runnable() { + myTransferToEDTQueue.offer(new Runnable() { @Override public void run() { if (isDisposed) return;