hide progress on scopes refresh (IDEA-166890)

This commit is contained in:
Anna Kozlova
2017-01-26 19:02:35 +03:00
parent b54b76138d
commit f6ef33861c
@@ -344,7 +344,7 @@ public class ScopeTreeViewPanel extends JPanel implements Disposable {
myTree.getEmptyText().setText("Loading...");
myActionCallback = new ActionCallback();
myTree.putClientProperty(TreeState.CALLBACK, new WeakReference<>(myActionCallback));
myTree.setModel(myBuilder.build(myProject, true, () -> {
myTree.setModel(myBuilder.build(myProject, false, () -> {
myTree.setPaintBusy(false);
myTree.getEmptyText().setText(UIBundle.message("message.nothingToShow"));
myActionCallback.setDone();