Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/PerspectiveDescriptor.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/PerspectiveDescriptor.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/PerspectiveDescriptor.java
index 2036d4cfad4..b89ca0b8de2 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/PerspectiveDescriptor.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/PerspectiveDescriptor.java
@@ -53,8 +53,7 @@ public class PerspectiveDescriptor implements IPerspectiveDescriptor,
this.label = label;
if (originalDescriptor != null) {
this.originalId = originalDescriptor.getOriginalId();
- // Direct member access by design
- this.image = originalDescriptor.image;
+ this.image = originalDescriptor.getImageDescriptor();
this.pluginId = originalDescriptor.getPluginId();
this.hasCustomDefinition = true;
}

Back to the top