Fix bug 235257: make sure the tab icon update properly. r=pink

This commit is contained in:
sfraser%netscape.com 2004-02-24 03:46:43 +00:00
parent 2c35239a76
commit 41e59d12a0

View File

@ -580,7 +580,8 @@ const double kJaguarAppKitVersion = 663;
-(void)setTabIcon:(NSImage *)newIcon
{
[super setTabIcon:newIcon];
[[mTabContentsView labelCell] setImage:mTabIcon];
[[mTabContentsView labelCell] setImage:mTabIcon];
[mTabContentsView setNeedsDisplay:YES];
}
- (void)setTabIcon:(NSImage *)newIcon isDraggable:(BOOL)draggable