Fix for image views in toolbar items not displaying their images.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I committed 2009-06-05 20:01:30 -07:00
1 parent c42fb68d8a
commit 886b4ef118
1 file changed
+5 -4
+5 -4
View File
@@ -458,15 +458,16 @@ CPToolbarItemVisibilityPriorityUser
[copy setLabel:_label];
[copy setPaletteLabel:_paletteLabel];
[copy setToolTip:[self toolTip]];
[copy setTag:[self tag]];
[copy setTarget:[self target]];
[copy setAction:[self action]];
[copy setEnabled:[self isEnabled]];
[copy setImage:_image];
[copy setAlternateImage:_alternateImage];
[copy setImage:[self image]];
[copy setAlternateImage:[self alternateImage]];
[copy setMinSize:_minSize];
[copy setMaxSize:_maxSize];