slight code beautification;
authorClaus Gittinger <cg@exept.de>
Wed, 04 Sep 2002 12:29:17 +0200
changeset 1587 91a7b38eb142
parent 1586 613c56ad49d9
child 1588 6dde5ad32643
slight code beautification;
UISelectionPanel.st
--- a/UISelectionPanel.st	Wed Sep 04 12:27:09 2002 +0200
+++ b/UISelectionPanel.st	Wed Sep 04 12:29:17 2002 +0200
@@ -1586,21 +1586,18 @@
 update:something with:aParameter from:changedObject
     "one of my models changed its value
     "
-    |channel label topView|
+    |channel label|
 
     (channel := self clientSpec) == changedObject ifTrue:[
-        topView := builder window topView.
-
         (label := channel value) notNil ifTrue:[
-            topView label:label name, ' '.
+            label := label name.
         ] ifFalse:[
-            topView label:'Widget Gallery '
-        ]
+            label := 'Widget Gallery'
+        ].
+        builder window topView label:(label , ' ')
     ].
 
     super update:something with:aParameter from:changedObject.
-
-
 ! !
 
 !UISelectionPanel methodsFor:'drag & drop'!