*** empty log message ***
authorClaus Gittinger <cg@exept.de>
Fri, 18 Sep 2009 10:31:46 +0200
changeset 3924 57f03ead2eca
parent 3923 912c8bc909ef
child 3925 cd7aa2f275ac
*** empty log message ***
Label.st
--- a/Label.st	Wed Sep 16 21:40:10 2009 +0200
+++ b/Label.st	Fri Sep 18 10:31:46 2009 +0200
@@ -1257,12 +1257,16 @@
 
 !Label methodsFor:'change & update'!
 
+getLabelFromLabelChannel
+    self label:(labelChannel value).
+!
+
 update:something with:aParameter from:changedObject
     "the MVC way of changing the label ..."
 
     changedObject notNil ifTrue:[
         changedObject == labelChannel ifTrue:[
-            self label:(labelChannel value).
+            self getLabelFromLabelChannel.
             ^ self
         ].
 
@@ -1796,7 +1800,8 @@
     "redraw my label"
 
     shown ifTrue:[
-	self drawWith:fgColor and:bgColor
+        self clear.
+        self drawWith:fgColor and:bgColor
     ]
 ! !
 
@@ -1858,5 +1863,5 @@
 !Label class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/Label.st,v 1.139 2009-03-05 17:50:39 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/Label.st,v 1.140 2009-09-18 08:31:46 cg Exp $'
 ! !