Fix bug 308219: don't load the throbber images if we don't have to.

This commit is contained in:
smfr%smfr.org 2005-09-12 20:09:00 +00:00
Родитель 4f4f366868
Коммит 8de954fbb5
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -2007,7 +2007,9 @@ enum BWCOpenDest {
[mThrobberHandler stopThrobber];
[mThrobberHandler release];
mThrobberHandler = nil;
[[self throbberItem] setImage: [[self throbberImages] objectAtIndex: 0]];
NSToolbarItem* throbberItem = [self throbberItem];
if (throbberItem)
[throbberItem setImage: [[self throbberImages] objectAtIndex: 0]];
}