#BUGFIX by stefan
class: EnterBox
changed: #requestOnCancel:
#ensure: block to destroy box on abort (e.g. via Timeout-Pin - see 15_Standard_Library_Test.ets)
--- a/EnterBox.st Wed Feb 05 13:52:58 2020 +0100
+++ b/EnterBox.st Wed Feb 05 13:55:04 2020 +0100
@@ -677,10 +677,15 @@
or cancelValue, if abort was pressed"
self action:[:string | ^ string].
- self open.
+ [
+ self open.
+ ] ensure:[
+ self destroy.
+ ].
^ cancelValue value
- "Created: 27.1.1996 / 14:47:47 / cg"
+ "Created: / 27-01-1996 / 14:47:47 / cg"
+ "Modified: / 05-02-2020 / 13:44:44 / Stefan Vogel"
!
requestPassword:title