#REFACTORING by cg draft
authorClaus Gittinger <cg@exept.de>
Mon, 17 Jul 2017 11:45:16 +0200
changeset 3453 01e6b207c1b4
parent 3452 33988b5b625e
child 3454 5488b2613628
#REFACTORING by cg class: Tools::ViewTreeInspectorApplication::ViewTreeModel changed: #withSelectionHiddenDo: self ensure: instead of valueNowOrOnUnwindDo:
Tools__ViewTreeApplication.st
--- a/Tools__ViewTreeApplication.st	Sun Jul 16 14:05:41 2017 +0200
+++ b/Tools__ViewTreeApplication.st	Mon Jul 17 11:45:16 2017 +0200
@@ -3446,17 +3446,18 @@
     self redrawUnselected:selection andLock:true
 !
 
-withSelectionHiddenDo:aNoneArgumentBlock
+withSelectionHiddenDo:aZeroArgumentBlock
     "apply block with selection hidden
     "
 
-    [   self waitHiddenLevel.
-
-        aNoneArgumentBlock value
-
-    ] valueNowOrOnUnwindDo:[
+    [   
+        self waitHiddenLevel.
+        aZeroArgumentBlock value
+    ] ensure:[
         self signalHiddenLevel.
     ].
+
+    "Modified (format): / 17-07-2017 / 10:44:01 / cg"
 ! !
 
 !ViewTreeInspectorApplication::ViewTreeModel methodsFor:'aspects'!