From c3c7bb858eaa336911f4244dba35dd67f1d54be6 Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Sat, 16 Sep 2017 20:34:19 +0000 Subject: [PATCH] Debuging return values. --- repository/Grafoscopio/GrafoscopioReplace.class.st | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/repository/Grafoscopio/GrafoscopioReplace.class.st b/repository/Grafoscopio/GrafoscopioReplace.class.st index 4606918..80c838f 100644 --- a/repository/Grafoscopio/GrafoscopioReplace.class.st +++ b/repository/Grafoscopio/GrafoscopioReplace.class.st @@ -57,6 +57,7 @@ GrafoscopioReplace >> initializeWidgets [ label: 'OK'; action: [ self returnValues. + self inspect. self window close ]. cancel := self newButton label: 'Cancel'; @@ -97,8 +98,8 @@ GrafoscopioReplace >> replace: anObject [ { #category : #initialization } GrafoscopioReplace >> returnValues [ ^ Dictionary new - at: 'find' put: find; - at: 'replace' put: replace; + at: 'find' put: find getText; + at: 'replace' put: replace getText; yourself ]