Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSusan Franklin2010-04-14 19:07:05 +0000
committerSusan Franklin2010-04-14 19:07:05 +0000
commitc5bc86385d56acffa44fe2b937138cb1c5ec9d33 (patch)
tree3e9c89d935370ec3a1f5448f41430c890cd126b4
parentc43866f56b9d3cc9ad0dc677d02abd03a2a07ba3 (diff)
downloadeclipse.platform.ui-c5bc86385d56acffa44fe2b937138cb1c5ec9d33.tar.gz
eclipse.platform.ui-c5bc86385d56acffa44fe2b937138cb1c5ec9d33.tar.xz
eclipse.platform.ui-c5bc86385d56acffa44fe2b937138cb1c5ec9d33.zip
Bug 202534 - [Dialogs] SWT error in Wizard dialog when help is displayed and "Finish" is pressed
-rw-r--r--bundles/org.eclipse.jface/src/org/eclipse/jface/wizard/WizardDialog.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/bundles/org.eclipse.jface/src/org/eclipse/jface/wizard/WizardDialog.java b/bundles/org.eclipse.jface/src/org/eclipse/jface/wizard/WizardDialog.java
index 4c28ff5057c..64424d3d093 100644
--- a/bundles/org.eclipse.jface/src/org/eclipse/jface/wizard/WizardDialog.java
+++ b/bundles/org.eclipse.jface/src/org/eclipse/jface/wizard/WizardDialog.java
@@ -862,6 +862,11 @@ public class WizardDialog extends TitleAreaDialog implements IWizardContainer2,
// dispose code
createdWizard.setContainer(null);
}
+ // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=202534
+ // disposing the wizards could cause the image currently set in
+ // this dialog to be disposed. A subsequent repaint event during
+ // close would then fail. To prevent this case, we null out the image.
+ setTitleImage(null);
return super.close();
}

Back to the top