Fix bug 169801: allow downloads to udpate even when the mouse is tracking a control by adding the timer to the event loop tracking runloop mode.

This commit is contained in:
smfr%smfr.org 2005-07-27 04:57:13 +00:00
Родитель a7ce0da213
Коммит ceac06b70d
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -519,6 +519,8 @@ static id gSharedProgressController = nil;
selector:@selector(setDownloadProgress:) selector:@selector(setDownloadProgress:)
userInfo:nil userInfo:nil
repeats:YES] retain]; repeats:YES] retain];
// make sure it fires even when the mouse is down
[[NSRunLoop currentRunLoop] addTimer:mDownloadTimer forMode:NSEventTrackingRunLoopMode];
} }
-(NSApplicationTerminateReply)allowTerminate -(NSApplicationTerminateReply)allowTerminate