ImageEditor.st
changeset 3378 7225434f9d46
parent 3377 6177e2e703fb
child 3379 407c5d5ec14d
--- a/ImageEditor.st	Fri Jan 20 18:54:52 2017 +0100
+++ b/ImageEditor.st	Fri Jan 20 23:07:21 2017 +0100
@@ -3945,6 +3945,7 @@
 allowedToChangeImageDimensionAndDepth
     "used to edit an existing image's contents only (Expecco)"
 
+    self readOnly ifTrue:[^ false].
     ^ allowedToChangeImageDimensionAndDepth ? true
 !
 
@@ -4005,6 +4006,10 @@
     "Modified: / 29.7.1998 / 18:49:03 / cg"
 !
 
+canResizeImage
+    ^ self imageIsLoadedAndNotReadonlyHolder
+!
+
 colorColumnAdaptor
     ^ self