diff options
author | Susan Franklin | 2010-04-14 19:07:05 +0000 |
---|---|---|
committer | Susan Franklin | 2010-04-14 19:07:05 +0000 |
commit | c5bc86385d56acffa44fe2b937138cb1c5ec9d33 (patch) | |
tree | 3e9c89d935370ec3a1f5448f41430c890cd126b4 /bundles/org.eclipse.jface | |
parent | c43866f56b9d3cc9ad0dc677d02abd03a2a07ba3 (diff) | |
download | eclipse.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
Diffstat (limited to 'bundles/org.eclipse.jface')
-rw-r--r-- | bundles/org.eclipse.jface/src/org/eclipse/jface/wizard/WizardDialog.java | 5 |
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(); } |