ImageEditor.st
changeset 1933 2fe701f721ac
parent 1931 34b208e7231f
child 1934 294d0e102881
--- a/ImageEditor.st	Fri Aug 05 12:10:25 2005 +0200
+++ b/ImageEditor.st	Fri Aug 05 12:44:04 2005 +0200
@@ -1622,8 +1622,8 @@
           )
          (MenuItem
             enabled: hasColormap
-            label: 'Pick Color'
-            itemValue: pickColor
+            label: 'Pick and Paste Color'
+            itemValue: pickAndPasteColor
             translateLabel: true
           )
          (MenuItem
@@ -4212,6 +4212,11 @@
     self addColorToColormap:(Color fromUser)
 !
 
+pickAndPasteColor
+    self pickColor.
+    self pasteColorIntoColormap.
+!
+
 pickColor
     imageEditView setClipboardObject:(Color fromUser)
 !