fix: download Manager gets stuck in Customize Toolbar mode when closing on download completion. b=283359 sr=pinkerton

This commit is contained in:
joshmoz%gmail.com 2005-03-05 23:28:30 +00:00
Родитель 5cecb27575
Коммит 02384f182e
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -450,7 +450,7 @@ enum {
// from the UI, this download is still going so close if we're the only one left
if (![[PreferenceManager sharedInstance] getBooleanPref:"browser.download.progressDnldDialog.keepAlive" withSuccess:&gotPref] &&
([mProgressWindowController numDownloadsInProgress] == 1)) {
[mProgressWindowController close];
[[mProgressWindowController window] performClose:self];
}
}