diff options
author | Wojciech Sudol | 2014-02-13 16:16:17 +0000 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org | 2014-02-14 07:59:45 +0000 |
commit | eab4debc1f136d50ff75f933b84e1e627320c07b (patch) | |
tree | 83f767396355215685e93c4039719fabed945f3e | |
parent | 618232e94a06cad2a6b921203fc3f0451cfe58ef (diff) | |
download | org.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.java | 2 |
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())) { |