Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Charles David2016-10-05 15:37:43 +0000
committerStephane Begaudeau2016-10-19 13:59:02 +0000
commit5c233dfa0734dd039477cefe73081529a5d611e8 (patch)
treeaf3de9af8535910abcdbe23bc45817fbee451b89
parent0663a427fa385879e04fffef6334dbe8f996ad4c (diff)
downloadorg.eclipse.eef-5c233dfa0734dd039477cefe73081529a5d611e8.tar.gz
org.eclipse.eef-5c233dfa0734dd039477cefe73081529a5d611e8.tar.xz
org.eclipse.eef-5c233dfa0734dd039477cefe73081529a5d611e8.zip
[500894] Always update tabs content, even when there none
Bug: 500894 Change-Id: Id37502002f27bc34fb8af874da9742a56c954649 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
-rw-r--r--plugins/org.eclipse.eef.properties.ui/src/org/eclipse/eef/properties/ui/api/EEFTabbedPropertySheetPage.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/org.eclipse.eef.properties.ui/src/org/eclipse/eef/properties/ui/api/EEFTabbedPropertySheetPage.java b/plugins/org.eclipse.eef.properties.ui/src/org/eclipse/eef/properties/ui/api/EEFTabbedPropertySheetPage.java
index 603e86c8e..402a208c6 100644
--- a/plugins/org.eclipse.eef.properties.ui/src/org/eclipse/eef/properties/ui/api/EEFTabbedPropertySheetPage.java
+++ b/plugins/org.eclipse.eef.properties.ui/src/org/eclipse/eef/properties/ui/api/EEFTabbedPropertySheetPage.java
@@ -308,12 +308,7 @@ public class EEFTabbedPropertySheetPage extends Page implements IPropertySheetPa
// see if the selection provides a new contributor
// validateRegistry(selection);
List<IEEFTabDescriptor> descriptors = EEFTabbedPropertyRegistry.getDefault(contributor).getTabDescriptors(part, selection);
- // If there are no descriptors for the given input we do not need to
- // touch the tab objects. We might reuse them for the next valid
- // input.
- if (descriptors.size() > 0) {
- this.updateTabs(descriptors);
- }
+ this.updateTabs(descriptors);
// update tabs list
this.tabbedPropertyViewer.setInput(descriptors);
int lastTabSelectionIndex = this.getLastTabSelection(descriptors);

Back to the top