changeset 138:e312405090e1

set dirty after cursor movement from setfield()
author Carl Byington <carl@five-ten-sg.com>
date Fri, 20 Jun 2014 15:03:05 -0700
parents 37665a94fc39
children c2fa8ae31cfa
files src/org/tn5250j/framework/tn5250/Screen5250.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/org/tn5250j/framework/tn5250/Screen5250.java	Fri Jun 20 11:05:04 2014 -0700
+++ b/src/org/tn5250j/framework/tn5250/Screen5250.java	Fri Jun 20 15:03:05 2014 -0700
@@ -2689,6 +2689,9 @@
         if (l >= 0) {
             int position = l * numCols + c;
             isInField(position, true);
+            cf = screenFields.getCurrentField();
+            lastPos = cf.getStartPos();
+            setDirty(lastPos);
         }
 
         if ((data != null) && (data.length > 0)) {