# HG changeset patch # User Claus Gittinger # Date 1007472226 -3600 # Node ID 76c2549d878fafe10c62a45e91f0ff3621932e3b # Parent 0dd5572f2607aac11acdf9be31481e74b484d944 *** empty log message *** diff -r 0dd5572f2607 -r 76c2549d878f ImageEditor.st --- a/ImageEditor.st Tue Nov 27 19:13:32 2001 +0100 +++ b/ImageEditor.st Tue Dec 04 14:23:46 2001 +0100 @@ -2505,8 +2505,9 @@ string:'Image requires %1 colors.\ColorMap has only space for %2\\Use nearest (or map to first color) ?' with:usedColors size with:(1 bitShift:depth)) withCRs - labels:(resources array:#('cancel' 'first' 'nearest')). + labels:(resources array:#('Cancel' 'First' 'Nearest')). useNearest isNil ifTrue:[ + colorMapMode value:prevMode. ^ self "/ cancel ]. ] @@ -2519,8 +2520,9 @@ confirmWithCancel:(resources string:'Not all colors are present in the new colormap.\\Map missing ones to nearest (or map to first color) ?' ) withCRs - labels:(resources string:#('cancel' 'first' 'nearest')). + labels:(resources string:#('Cancel' 'First' 'Nearest')). useNearest isNil ifTrue:[ + colorMapMode value:prevMode. ^ self "/ cancel ]. ]. @@ -2534,6 +2536,7 @@ Image imageErrorSignal handle:[:ex| Color colorErrorSignal handle:[:ex| + colorMapMode value:prevMode. imageEditView undo. ^ self warn:(resources string:'Conversion failed !!') ] do:[