--- 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:[