class: EditTextView
authorClaus Gittinger <cg@exept.de>
Sun, 30 Aug 2015 19:10:11 +0200
changeset 5404 50b74416cbd4
parent 5402 36164fbcd8dc
child 5405 19049627677d
class: EditTextView changed: #requestAutoAccept only do an auto-accept if modified
EditTextView.st
--- a/EditTextView.st	Sat Aug 29 18:08:03 2015 +0200
+++ b/EditTextView.st	Sun Aug 30 19:10:11 2015 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1989 by Claus Gittinger
               All Rights Reserved
@@ -5523,7 +5521,14 @@
         "/ nope -
         ^ false
     ].
-    self accept.
+    "/ cg: only do this if modified.
+    "/ otherwise, users would have to make sure that the contents is
+    "/ always correct (which they don't). If you change this back,
+    "/ please check the expecco file-save or file-reimport dialog,
+    "/ which has a problem with that behavior.
+    self modified ifTrue:[
+        self accept.
+    ].
     ^ true.
 !