Archived
0

disable commit on lost focus in cell

This commit is contained in:
iMoHax
2015-01-07 12:20:42 +03:00
parent 4f9ec977cf
commit af06ab0914

View File

@@ -74,11 +74,12 @@ public class TextFieldCell<S,T> extends TableCell<S,T> {
public void cancelEdit() {
LOG.trace("Cancel edit");
//lost focus
if (!isCommit()) commit(false);
if (isCommit()) {
//crash on scroll, disable
//if (!isCommit()) commit(false);
//if (isCommit()) {
super.cancelEdit();
outItem();
}
//}
}