diff --git a/ui/org.eclipse.pde.spy.core/forceQualifierUpdate.txt b/ui/org.eclipse.pde.spy.core/forceQualifierUpdate.txt index 017bc991db1..52be609dd97 100644 --- a/ui/org.eclipse.pde.spy.core/forceQualifierUpdate.txt +++ b/ui/org.eclipse.pde.spy.core/forceQualifierUpdate.txt @@ -1,3 +1,4 @@ # To force a version qualifier update add the bug here https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/issues/1184 -https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/issues/1659 \ No newline at end of file +https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/issues/1659 +https://github.com/eclipse-pde/eclipse.pde/pull/2326 \ No newline at end of file diff --git a/ui/org.eclipse.pde.spy.core/src/org/eclipse/pde/spy/core/SpyProcessor.java b/ui/org.eclipse.pde.spy.core/src/org/eclipse/pde/spy/core/SpyProcessor.java index dbc72afd1e6..8f937fae8fd 100644 --- a/ui/org.eclipse.pde.spy.core/src/org/eclipse/pde/spy/core/SpyProcessor.java +++ b/ui/org.eclipse.pde.spy.core/src/org/eclipse/pde/spy/core/SpyProcessor.java @@ -81,7 +81,9 @@ public void process(IExtensionRegistry extRegistry) { // Bind the command with the binding, and add the view ID as // parameter. // The part class name will be the ID of the part descriptor - bindSpyKeyBinding(bindingTable, shortCut, command, partID); + if (shortCut != null && !shortCut.isBlank()) { + bindSpyKeyBinding(bindingTable, shortCut, command, partID); + } // Add the descriptor in application addSpyPartDescriptor(partID, partName, iconPath, partClass, desc);