ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [85/92] [abbrv] incubator-ignite git commit: # sprint-2 Minor fix: clear selection.
Date Fri, 06 Mar 2015 10:15:01 GMT
# sprint-2 Minor fix: clear selection.


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

Branch: refs/heads/ignite-user-req
Commit: 1bd34b509ff554f637a031eb1c9f6cadb707f771
Parents: af603c0
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Fri Mar 6 10:03:58 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Fri Mar 6 10:03:58 2015 +0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/ignite/schema/ui/SchemaLoadApp.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/1bd34b50/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/SchemaLoadApp.java
----------------------------------------------------------------------
diff --git a/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/SchemaLoadApp.java
b/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/SchemaLoadApp.java
index f43c5ca..3c4b3cb 100644
--- a/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/SchemaLoadApp.java
+++ b/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/SchemaLoadApp.java
@@ -319,7 +319,7 @@ public class SchemaLoadApp extends Application {
                 pojosTbl.setItems(pojos);
 
                 if (!pojos.isEmpty())
-                    pojosTbl.getSelectionModel().select(pojos.get(0));
+                    pojosTbl.getSelectionModel().clearAndSelect(0);
 
                 curTbl = pojosTbl;
 


Mime
View raw message