зеркало из https://github.com/mozilla/gecko-dev.git
fix: download Manager gets stuck in Customize Toolbar mode when closing on download completion. b=283359 sr=pinkerton
This commit is contained in:
Родитель
5cecb27575
Коммит
02384f182e
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче