diff -r e71445e7174c -r 14678b9fea60 ImageEditor.st --- 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).