git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor
[fanfix.git]
/
src
/
jexer
/
TField.java
diff --git
a/src/jexer/TField.java
b/src/jexer/TField.java
index 6aaf5912497659bfa3b3b07fc0ff1e64743ba0ad..7c8b5bc415e62882a24941734da6ac213c706b75 100644
(file)
--- a/
src/jexer/TField.java
+++ b/
src/jexer/TField.java
@@
-378,6
+378,17
@@
public class TField extends TWidget {
// TWidget ----------------------------------------------------------------
// ------------------------------------------------------------------------
// TWidget ----------------------------------------------------------------
// ------------------------------------------------------------------------
+ /**
+ * Override TWidget's height: we can only set height at construction
+ * time.
+ *
+ * @param height new widget height (ignored)
+ */
+ @Override
+ public void setHeight(final int height) {
+ // Do nothing
+ }
+
/**
* Draw the text field.
*/
/**
* Draw the text field.
*/
@@
-468,11
+479,11
@@
public class TField extends TWidget {
protected void dispatch(final boolean enter) {
if (enter) {
if (enterAction != null) {
protected void dispatch(final boolean enter) {
if (enter) {
if (enterAction != null) {
- enterAction.DO();
+ enterAction.DO(
this
);
}
} else {
if (updateAction != null) {
}
} else {
if (updateAction != null) {
- updateAction.DO();
+ updateAction.DO(
this
);
}
}
}
}
}
}