Bug 428116 - Event Spy recreates default key binding after restart

Change-Id: I23cbb26a2ad4e1357dedb666d8c7059331195fc7
Signed-off-by: Wojciech Sudol <wojciech.sudol@pl.ibm.com>
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 9b2d997..a2e23a2 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 @@
 		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())) {