diff src/org/tn5250j/framework/tn5250/tnvt.java @ 218:2bdc413623b2

test buffer changed when 5250 keyboard unlocks
author Carl Byington <carl@five-ten-sg.com>
date Tue, 08 Jul 2014 10:35:14 -0700
parents 1048515a2852
children c438c2ff0052
line wrap: on
line diff
--- a/src/org/tn5250j/framework/tn5250/tnvt.java	Tue Jul 08 10:11:52 2014 -0700
+++ b/src/org/tn5250j/framework/tn5250/tnvt.java	Tue Jul 08 10:35:14 2014 -0700
@@ -1013,7 +1013,6 @@
                     pendingUnlock = true;
                     cursorOn = true;
                     setInvited();
-                    buffer.testChanged();
                     break;
 
                 case 2:
@@ -1026,7 +1025,6 @@
                     Log.d(TAG, "Put/Get Operation");
                     parseIncoming();
                     setInvited();
-                    buffer.testChanged();
 
                     if (!firstScreen) {
                         firstScreen = true;
@@ -1115,6 +1113,7 @@
             if (cursorOn && !screen52.getOIA().isKeyBoardLocked()) {
                 screen52.setCursorActive(true);
                 cursorOn = false;
+                buffer.testChanged();
             }
 
         }