comparison src/org/tn5250j/framework/tn5250/Screen5250.java @ 106:12425771714d

setField() needs to dirty the modified screen positions
author Carl Byington <carl@five-ten-sg.com>
date Wed, 18 Jun 2014 10:38:46 -0700
parents 1b5887a3bb1c
children afe6962769b9
comparison
equal deleted inserted replaced
105:1b5887a3bb1c 106:12425771714d
2696 if ((data != null) && (data.length > 0)) { 2696 if ((data != null) && (data.length > 0)) {
2697 cf = screenFields.getCurrentField(); 2697 cf = screenFields.getCurrentField();
2698 cf.setString(new String(data)); 2698 cf.setString(new String(data));
2699 lastPos = cf.getStartPos(); 2699 lastPos = cf.getStartPos();
2700 setDirty(lastPos); 2700 setDirty(lastPos);
2701 setDirty(lastPos + df.getLength()); 2701 setDirty(lastPos + cf.getLength());
2702 } 2702 }
2703 updateDirty(); 2703 updateDirty();
2704 } 2704 }
2705 2705
2706 /** 2706 /**