changed #htmlColorNameChanged - ignore empty color names
authorStefan Vogel <sv@exept.de>
Mon, 13 Oct 2008 09:15:07 +0200
changeset 2417 cc89133cc041
parent 2416 98dbabd36558
child 2418 05e2b9049f24
changed #htmlColorNameChanged - ignore empty color names
ColorEditDialog.st
--- a/ColorEditDialog.st	Fri Oct 10 14:10:30 2008 +0200
+++ b/ColorEditDialog.st	Mon Oct 13 09:15:07 2008 +0200
@@ -677,6 +677,10 @@
 
     |clr|
 
+    htmlColorNameHolder value isEmptyOrNil ifTrue:[
+        ^ self.
+    ].
+
     clr := Color rgbValue:(Integer 
                                 readFrom:(htmlColorNameHolder value copyFrom:2)
                                 radix:16