ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: # IGNITE-32: Fixes for cell edit.
Date Mon, 26 Jan 2015 03:40:36 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-32 87592ecc1 -> 0c5bae31d


# IGNITE-32: Fixes for cell edit.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/0c5bae31
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/0c5bae31
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/0c5bae31

Branch: refs/heads/ignite-32
Commit: 0c5bae31dd23a41e195d7c3ea953964506efb601
Parents: 87592ec
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Mon Jan 26 10:40:35 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Mon Jan 26 10:40:35 2015 +0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/ignite/schema/ui/Controls.java    | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0c5bae31/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/Controls.java
----------------------------------------------------------------------
diff --git a/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/Controls.java b/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/Controls.java
index 7826d1a..3004fb4 100644
--- a/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/Controls.java
+++ b/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/Controls.java
@@ -544,7 +544,7 @@ public class Controls {
                     }
                 });
 
-                tf.setOnKeyReleased(new EventHandler<KeyEvent>() {
+                tf.setOnKeyPressed(new EventHandler<KeyEvent>() {
                     @Override public void handle(KeyEvent evt) {
                         if (KeyCode.ENTER == evt.getCode())
                             cancelEdit();
@@ -556,6 +556,10 @@ public class Controls {
                     }
                 });
 
+                tf.setOnKeyReleased(new EventHandler<KeyEvent>() {
+                    @Override public void handle(KeyEvent evt) {}
+                });
+
                 // Special hack for editable TextFieldTableCell.
                 // Cancel edit when focus lost from text field, but do not cancel if focus
lost to VirtualFlow.
                 tf.focusedProperty().addListener(new ChangeListener<Boolean>() {


Mime
View raw message