diff options
author | Fredrik Attebrant | 2013-03-07 12:32:30 +0000 |
---|---|---|
committer | Paul Webster | 2013-03-07 12:32:30 +0000 |
commit | ec77102203186c7cf66d7af96013bb0a925840ee (patch) | |
tree | 13aac1f5347763b8e3e970de33ceeffeb4d899f8 | |
parent | 8fab17122c0d0e9d0181ef533f0f5d4b56d31092 (diff) | |
download | eclipse.platform.ui-ec77102203186c7cf66d7af96013bb0a925840ee.tar.gz eclipse.platform.ui-ec77102203186c7cf66d7af96013bb0a925840ee.tar.xz eclipse.platform.ui-ec77102203186c7cf66d7af96013bb0a925840ee.zip |
Bug 311692 - [TabbedProperties] Properties View crashes when reopening with NPE if using Tabbed Properties
-rw-r--r-- | examples/org.eclipse.ui.examples.views.properties.tabbed.hockeyleague/src/org/eclipse/ui/examples/views/properties/tabbed/hockeyleague/ui/editor/HockeyleagueEditor.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/org.eclipse.ui.examples.views.properties.tabbed.hockeyleague/src/org/eclipse/ui/examples/views/properties/tabbed/hockeyleague/ui/editor/HockeyleagueEditor.java b/examples/org.eclipse.ui.examples.views.properties.tabbed.hockeyleague/src/org/eclipse/ui/examples/views/properties/tabbed/hockeyleague/ui/editor/HockeyleagueEditor.java index e28534f4124..ad17b737e25 100644 --- a/examples/org.eclipse.ui.examples.views.properties.tabbed.hockeyleague/src/org/eclipse/ui/examples/views/properties/tabbed/hockeyleague/ui/editor/HockeyleagueEditor.java +++ b/examples/org.eclipse.ui.examples.views.properties.tabbed.hockeyleague/src/org/eclipse/ui/examples/views/properties/tabbed/hockeyleague/ui/editor/HockeyleagueEditor.java @@ -1323,7 +1323,8 @@ public class HockeyleagueEditor * @generated NOT */ public TabbedPropertySheetPage getPropertySheetPage() { - if (propertySheetPage == null || propertySheetPage.getControl() == null) { + if (propertySheetPage == null || propertySheetPage.getControl() == null + || propertySheetPage.getControl().isDisposed()) { propertySheetPage = new HockeyleaguePropertySheetPage(this); } |