ImageEditor.st
changeset 2420 14678b9fea60
parent 2375 c775c95566b9
child 2423 0c5ac1daf0e4
--- a/ImageEditor.st	Sat Oct 18 11:51:12 2008 +0200
+++ b/ImageEditor.st	Sun Oct 19 17:23:15 2008 +0200
@@ -5604,6 +5604,7 @@
             image := Image fromUser.
             image isNil ifFalse:[
                 image depth > 8 ifTrue:[
+false ifTrue:[
                     Error handle:[:ex | |sig|
                         (sig := ex signal) == HaltInterrupt ifTrue:[ex reject].
                         sig == Signal noHandlerSignal ifTrue:[ex reject].
@@ -5611,11 +5612,12 @@
                         self warn:'Could not convert to depth8 image (too many colors)'.
                         d8image := nil.
                     ] do:[
-                         d8image := Depth8Image fromImage:image photometric:#palette.
+                        d8image := Depth8Image fromImage:image photometric:#palette.
                     ].
                     d8image notNil ifTrue:[
                         image := d8image
                     ]
+].
                 ].
                 (imageEditView image:image) notNil ifTrue:[
                     self listOfColors contents:(image colorMap).