can now specify if menu action is to be performed by
authorca
Sat, 26 Oct 2002 17:53:32 +0200
changeset 1635 116bf6f0ff62
parent 1634 1dd4cd7ea43b
child 1636 85ab98a850c8
can now specify if menu action is to be performed by originating widget (instead of application)
UIPainterView.st
--- a/UIPainterView.st	Sat Oct 26 17:46:13 2002 +0200
+++ b/UIPainterView.st	Sat Oct 26 17:53:32 2002 +0200
@@ -1520,13 +1520,14 @@
 showMiddleButtonMenu
     "show the middle button menu; this returns nil
     "
+
+    |m|
+
     self enabled ifTrue:[
-        (MenuPanel fromSpec:(UIPainter menuEdit) receiver:self superView application) startUp
+        m := MenuPanel fromSpec:(UIPainter menuEdit) receiver:self superView application.
+        self startUpMenu:m
     ].
   ^ nil
-
-
-
 ! !
 
 !UIPainterView methodsFor:'private handles'!