disable commit on lost focus in cell
This commit is contained in:
@@ -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();
|
||||
}
|
||||
//}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user