From ce5cfca43de8ce248f6345ae70bec302151e6e7a Mon Sep 17 00:00:00 2001 From: Francisco Ryan Tolmasky I Date: Tue, 23 Dec 2008 01:12:39 -0800 Subject: [PATCH] Fix for tag not being set on button in toolbar. Reviewed by me. --- AppKit/CPToolbar.j | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AppKit/CPToolbar.j b/AppKit/CPToolbar.j index 980e8124d..fe6667585 100644 --- a/AppKit/CPToolbar.j +++ b/AppKit/CPToolbar.j @@ -769,6 +769,8 @@ var _CPToolbarItemInfoMake = function(anIndex, aView, aLabel, aMinWidth) [view setTarget:[item target]]; [view setAction:[item action]]; + + [view setTag:[item tag]]; [view setImagePosition:CPImageOnly]; }