change: return nil if cancel is pressed in #requestPassword.
--- 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 $'
! !