Author: snjeza
Date: 2010-12-22 15:49:53 -0500 (Wed, 22 Dec 2010)
New Revision: 27696
Modified:
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/wizard/NewProjectExamplesWizard.java
Log:
JBIDE-7972 Quick fix dialog is not shown
Modified:
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/wizard/NewProjectExamplesWizard.java
===================================================================
---
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/wizard/NewProjectExamplesWizard.java 2010-12-22
20:40:55 UTC (rev 27695)
+++
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/wizard/NewProjectExamplesWizard.java 2010-12-22
20:49:53 UTC (rev 27696)
@@ -223,7 +223,7 @@
};
workspaceJob.setUser(true);
- final boolean showQuickFix = page.showQuickFix() && projects != null &&
projects.size() > 0;
+ final boolean showQuickFix = page.showQuickFix();
if (showQuickFix) {
workspaceJob.addJobChangeListener(new IJobChangeListener() {
@@ -246,7 +246,7 @@
} catch (InterruptedException e) {
return;
}
- if (showQuickFix) {
+ if (showQuickFix && projects != null && projects.size() > 0) {
try {
Thread.sleep(100);
} catch (InterruptedException e) {
Show replies by date