use hotswap progress only in scanning mode

This commit is contained in:
Eugene Zhuravlev
2012-01-17 20:26:25 +01:00
parent 65376ac093
commit 29dbead372
@@ -157,7 +157,7 @@ public class HotSwapUIImpl extends HotSwapUI implements ProjectComponent{
return;
}
final HotSwapProgressImpl findClassesProgress = new HotSwapProgressImpl(myProject);
final HotSwapProgressImpl findClassesProgress = generatedPaths == null? new HotSwapProgressImpl(myProject) : null;
ApplicationManager.getApplication().executeOnPooledThread(new Runnable() {
public void run() {