Merge 38523721ac into merged_master (Bitcoin PR #16135)

This commit is contained in:
Andrew Poelstra 2020-11-06 15:20:11 +00:00
commit 498a3846f8
2 changed files with 2 additions and 0 deletions

View file

@ -1341,6 +1341,7 @@ void BitcoinGUI::showProgress(const QString &title, int nProgress)
if (progressDialog) {
progressDialog->close();
progressDialog->deleteLater();
progressDialog = nullptr;
}
} else if (progressDialog) {
progressDialog->setValue(nProgress);

View file

@ -315,6 +315,7 @@ void WalletView::showProgress(const QString &title, int nProgress)
if (progressDialog) {
progressDialog->close();
progressDialog->deleteLater();
progressDialog = nullptr;
}
} else if (progressDialog) {
if (progressDialog->wasCanceled()) {