commit | c832aceba3f47a0319e85a042295aa9b3af6d3d7 | [log] [tgz] |
---|---|---|
author | Carsten Reckord <reckord@yatta.de> | Thu Jun 18 18:59:48 2015 +0200 |
committer | Carsten Reckord <reckord@yatta.de> | Thu Jun 18 18:59:48 2015 +0200 |
tree | ab63ad3b5a76a9ea4f96e97451b960ab7329063d | |
parent | 63f9d2c6dfb2df0bb036d289d15875e0b35aff8a [diff] |
470485: Confirm and Finish are disabled - refresh button state after running container operation Bug: 470485 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=470485
diff --git a/org.eclipse.epp.mpc.ui/src/org/eclipse/epp/internal/mpc/ui/wizards/FeatureSelectionWizardPage.java b/org.eclipse.epp.mpc.ui/src/org/eclipse/epp/internal/mpc/ui/wizards/FeatureSelectionWizardPage.java index 4e0a832..63c37cc 100644 --- a/org.eclipse.epp.mpc.ui/src/org/eclipse/epp/internal/mpc/ui/wizards/FeatureSelectionWizardPage.java +++ b/org.eclipse.epp.mpc.ui/src/org/eclipse/epp/internal/mpc/ui/wizards/FeatureSelectionWizardPage.java
@@ -403,7 +403,6 @@ try { getContainer().run(true, true, operation); } catch (InvocationTargetException e) { - refresh(); // we only log here since any error will also be displayed when resolving the provisioning operation. int statusFlags = StatusManager.LOG; IStatus status; @@ -416,8 +415,11 @@ } StatusManager.getManager().handle(status, statusFlags); } catch (InterruptedException e) { - refresh(); // canceled + } finally { + refresh(); + //bug 470485: need to recompute button state, because run() resets that to previous state + refreshState(); } //maybeUpdateProfileChangeOperation(); }