class: ImageEditor
authorClaus Gittinger <cg@exept.de>
Sun, 07 Dec 2014 10:29:26 +0100
changeset 3170 a49100905be3
parent 3169 54d9e27b384d
child 3171 16cec0f0e3b4
class: ImageEditor changed: #commonPostBuild
ImageEditor.st
--- a/ImageEditor.st	Tue Dec 02 19:23:38 2014 +0100
+++ b/ImageEditor.st	Sun Dec 07 10:29:26 2014 +0100
@@ -4722,10 +4722,11 @@
 
     imageEditView clickInfoCallBack:[:button :point | 
                         |mouseButtonColorToolBar|
-
-                        mouseButtonColorToolBar := self componentAt:#MouseButtonColorToolBar.
-                        (mouseButtonColorToolBar itemAt:button) toggleIndication.
-                        mouseButtonColorToolBar do: [:i| i updateIndicators].
+                        button <= 2 ifTrue:[
+                            mouseButtonColorToolBar := self componentAt:#MouseButtonColorToolBar.
+                            (mouseButtonColorToolBar itemAt:button) toggleIndication.
+                            mouseButtonColorToolBar do: [:i| i updateIndicators].
+                        ].
                   ].
 
     imageEditView addDependent:self.