commit | d57fd8ea120ddd1605598bf28e247f08369a75d4 | [log] [tgz] |
---|---|---|
author | Rolf Theunissen <rolf.theunissen@altran.com> | Fri Dec 08 16:38:33 2017 +0100 |
committer | Karsten Thoms <karsten.thoms@itemis.de> | Thu Jan 18 06:40:27 2018 -0500 |
tree | 658a561d6f9d49917ab97c8e8bf2843d0ffe41ae | |
parent | 6227cfe6d17a2520d0499b6c66b94c381f37db2a [diff] |
Bug 528849 - [PropertiesView] memory leaks in properties view Clear the selection when the editor is closed Change-Id: I88d07d9082c676a963681be6eda5ef8ce9d99080 Signed-off-by: Rolf Theunissen <rolf.theunissen@altran.com>
diff --git a/bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/properties/PropertySheet.java b/bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/properties/PropertySheet.java index 5b7c988..ae93f15 100644 --- a/bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/properties/PropertySheet.java +++ b/bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/properties/PropertySheet.java
@@ -369,6 +369,7 @@ if (part.equals(currentPart)) { if (isPinned()) pinPropertySheetAction.setChecked(false); + currentSelection = null; currentPart = null; } super.partClosed(part);