Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWojciech Sudol2014-02-13 16:16:17 +0000
committerGerrit Code Review @ Eclipse.org2014-02-14 07:59:45 +0000
commiteab4debc1f136d50ff75f933b84e1e627320c07b (patch)
tree83f767396355215685e93c4039719fabed945f3e
parent618232e94a06cad2a6b921203fc3f0451cfe58ef (diff)
downloadorg.eclipse.e4.tools-I20140214-2200.tar.gz
org.eclipse.e4.tools-I20140214-2200.tar.xz
org.eclipse.e4.tools-I20140214-2200.zip
Bug 428116 - Event Spy recreates default key binding after restartI20140216-2200I20140215-2200I20140214-2200
Change-Id: I23cbb26a2ad4e1357dedb666d8c7059331195fc7 Signed-off-by: Wojciech Sudol <wojciech.sudol@pl.ibm.com>
-rw-r--r--bundles/org.eclipse.e4.tools.event.spy/src/org/eclipse/e4/tools/event/spy/Installer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.e4.tools.event.spy/src/org/eclipse/e4/tools/event/spy/Installer.java b/bundles/org.eclipse.e4.tools.event.spy/src/org/eclipse/e4/tools/event/spy/Installer.java
index 9b2d997f..a2e23a2b 100644
--- a/bundles/org.eclipse.e4.tools.event.spy/src/org/eclipse/e4/tools/event/spy/Installer.java
+++ b/bundles/org.eclipse.e4.tools.event.spy/src/org/eclipse/e4/tools/event/spy/Installer.java
@@ -116,7 +116,7 @@ public class Installer {
for (MBindingTable bindingTable: application.getBindingTables()) {
for (MKeyBinding keyBinding : bindingTable.getBindings()) {
if (keyBinding.getCommand() == command) {
- return bindingTable;
+ return keyBinding;
}
}
if (descriptor.getBindingContextId().equals(bindingTable.getBindingContext().getElementId())) {

Back to the top