change: return nil if cancel is pressed in #requestPassword.
authorClaus Gittinger <cg@exept.de>
Mon, 26 Apr 1999 17:29:44 +0200
changeset 1879 25ac1b89ed31
parent 1878 d93809bda6c8
child 1880 3ad00c12541e
change: return nil if cancel is pressed in #requestPassword.
EnterBox.st
--- a/EnterBox.st	Sat Apr 24 22:03:37 1999 +0200
+++ b/EnterBox.st	Mon Apr 26 17:29:44 1999 +0200
@@ -610,9 +610,9 @@
 
 requestPassword:title
     "set the title, set password mode, open the box and return the entered string 
-     or an empty string, if abort was pressed"
+     or nil, if abort was pressed"
 
-    ^ self requestPassword:title onCancel:''
+    ^ self requestPassword:title onCancel:nil
 
     "Created: 16.11.1995 / 21:25:33 / cg"
     "Modified: 27.1.1996 / 14:52:36 / cg"
@@ -659,5 +659,5 @@
 !EnterBox class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/EnterBox.st,v 1.49 1999-03-14 13:03:08 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/EnterBox.st,v 1.50 1999-04-26 15:29:44 cg Exp $'
 ! !