ImageEditor.st
changeset 3188 351c645c0921
parent 3180 9ee8f0e74b96
child 3191 ae97e9478128
--- a/ImageEditor.st	Mon Feb 16 18:03:18 2015 +0100
+++ b/ImageEditor.st	Thu Feb 19 13:23:06 2015 +0100
@@ -6802,13 +6802,13 @@
     "let user choose an area and grab that are for editing"
 
     self grabScreenImageUsing:[
-        |v|
+        |v topView|
 
         (v := Screen current viewFromUser) notNil ifTrue:[
-            v topView raise.
-            v topView makeFullyVisible.
+            topView := v topView.
+            topView raise; makeFullyVisible.
             Delay waitForSeconds:0.5.   "/ give view a chance to redraw itself.
-            Image fromView:(v topView)
+            Image fromView:topView
         ].
     ].
 ! !