summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis Windatt2013-06-11 12:04:53 (EDT)
committerCurtis Windatt2013-06-11 12:04:53 (EDT)
commitae622299625eec702f67637f18b8a50d284b0f3a (patch)
tree3a8600ad8c5325e74af39f02a365180c99be7ab9
parent45b861c951efce8537ea1042bf86fadba9cbecef (diff)
downloadeclipse.pde.ui-ae622299625eec702f67637f18b8a50d284b0f3a.zip
eclipse.pde.ui-ae622299625eec702f67637f18b8a50d284b0f3a.tar.gz
eclipse.pde.ui-ae622299625eec702f67637f18b8a50d284b0f3a.tar.bz2
Bug 407861 - Wrong status after canceling target resolver
-rw-r--r--ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/target/TargetDefinition.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/target/TargetDefinition.java b/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/target/TargetDefinition.java
index 00733d1..58d1822 100644
--- a/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/target/TargetDefinition.java
+++ b/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/target/TargetDefinition.java
@@ -268,6 +268,9 @@ public class TargetDefinition implements ITargetDefinition {
if (status.isOK()) {
return Status.OK_STATUS;
}
+ if (subMonitor.isCanceled()) {
+ return Status.CANCEL_STATUS;
+ }
return status;
} finally {
subMonitor.done();