Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSnjezana Peco2015-10-05 17:40:08 +0000
committerSnjezana Peco2015-10-05 17:45:12 +0000
commit161506a755e5993f088739613f8315df0d469782 (patch)
tree0d40e7123c713aa398e886d3de29211665ea7ad6
parent6542434b77b0b5f915d469e1c234c50a438ced0b (diff)
downloadrt.equinox.p2-161506a755e5993f088739613f8315df0d469782.tar.gz
rt.equinox.p2-161506a755e5993f088739613f8315df0d469782.tar.xz
rt.equinox.p2-161506a755e5993f088739613f8315df0d469782.zip
Bug 479063 - ProvisioningOperationWizard doesn't update buttons sometimes
Change-Id: Ic9d1a1333da3c18a04927a21b60f89693d56c095 Signed-off-by: Snjezana Peco <snjeza.peco@gmail.com>
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProvisioningOperationWizard.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProvisioningOperationWizard.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProvisioningOperationWizard.java
index d3835dbcb..f1f467c7d 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProvisioningOperationWizard.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProvisioningOperationWizard.java
@@ -192,9 +192,8 @@ public abstract class ProvisioningOperationWizard extends Wizard {
// If the page selections are different than what we may have resolved
// against, then this page is not complete.
boolean old = resolutionPage.isPageComplete();
- if (pageSelectionsHaveChanged(page))
- resolutionPage.setPageComplete(false);
- // If the state has truly changed, update the buttons.
+ resolutionPage.setPageComplete(page.getCheckedIUElements() != null && page.getCheckedIUElements().length > 0);
+ // If the state has truly changed, update the buttons.
if (old != resolutionPage.isPageComplete()) {
IWizardContainer container = getContainer();
if (container != null && container.getCurrentPage() != null)

Back to the top