Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMélanie Bats2016-12-02 09:30:02 +0000
committerMelanie Bats2016-12-02 14:41:35 +0000
commit4081d89b04ab71212cfb7c1581c3810d9a2c3755 (patch)
tree6491f40d5a141a93811e8ae194fe91b9603986da
parent9766e1dfe9c4536a9155bf9fcd089a90d2af2411 (diff)
downloadorg.eclipse.eef-4081d89b04ab71212cfb7c1581c3810d9a2c3755.tar.gz
org.eclipse.eef-4081d89b04ab71212cfb7c1581c3810d9a2c3755.tar.xz
org.eclipse.eef-4081d89b04ab71212cfb7c1581c3810d9a2c3755.zip
[507180] Trimmed tab disappeared
When two tabs when trimmed have the same label, only one tab is visible. Instead of filtering the tabs by using their labels we use the id. Bug: 507180 Change-Id: Icbd83e334fbf2c87f2885d2bce454b41732f35a7 Signed-off-by: Mélanie Bats <melanie.bats@obeo.fr>
-rw-r--r--plugins/org.eclipse.eef.properties.ui/src/org/eclipse/eef/properties/ui/internal/registry/EEFTabbedPropertyRegistry.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.eef.properties.ui/src/org/eclipse/eef/properties/ui/internal/registry/EEFTabbedPropertyRegistry.java b/plugins/org.eclipse.eef.properties.ui/src/org/eclipse/eef/properties/ui/internal/registry/EEFTabbedPropertyRegistry.java
index 0b227c7b8..d77e190ef 100644
--- a/plugins/org.eclipse.eef.properties.ui/src/org/eclipse/eef/properties/ui/internal/registry/EEFTabbedPropertyRegistry.java
+++ b/plugins/org.eclipse.eef.properties.ui/src/org/eclipse/eef/properties/ui/internal/registry/EEFTabbedPropertyRegistry.java
@@ -141,7 +141,7 @@ public class EEFTabbedPropertyRegistry {
for (IEEFTabDescriptor eefTabDescriptor : eefTabDescriptors) {
IEEFTabDescriptor filteredEefTabDescriptor = adaptDescriptorFor(eefTabDescriptor, part, input);
if (!filteredEefTabDescriptor.getSectionDescriptors().isEmpty()) {
- filteredEefTabDescriptors.put(filteredEefTabDescriptor.getLabel(), filteredEefTabDescriptor);
+ filteredEefTabDescriptors.put(filteredEefTabDescriptor.getId(), filteredEefTabDescriptor);
}
}
return new ArrayList<IEEFTabDescriptor>(filteredEefTabDescriptors.values());

Back to the top