#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Thu, 18 Jan 2018 17:08:56 +0100
changeset 6268 3d8b11c7df18
parent 6267 ff6b7f55bc99
child 6269 49be8ecf8afa
#REFACTORING by cg class: EditField changed: #accept (send #beepInEditor instead of #beep) #copySelection (send #beepInEditor instead of #beep) #setClipboardText: (send #beepInEditor instead of #beep) beep
EditField.st
--- a/EditField.st	Thu Jan 18 17:06:34 2018 +0100
+++ b/EditField.st	Thu Jan 18 17:08:56 2018 +0100
@@ -835,7 +835,7 @@
     |string|
 
     acceptEnabled == false ifTrue:[
-        self beep.
+        self beepInEditor.
         ^ self
     ].
 
@@ -2432,7 +2432,7 @@
     "refuse to copy a password to the clipboard"
 
     passwordCharacter notNil ifTrue:[
-        self beep.
+        self beepInEditor.
         ^ self
     ].
     ^ super copySelection
@@ -2478,7 +2478,7 @@
     "redefined to refuse to copy the password to the clipboard"
 
     passwordCharacter notNil ifTrue:[
-        self beep.
+        self beepInEditor.
         ^ self
     ].
     ^ super setClipboardText:aString