diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2019-06-02 17:04:35 +0100 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2019-06-02 22:18:19 +0100 |
commit | d2ae6be80f6a0156021bf8c9b9d17cd4966ddffc (patch) | |
tree | 260a8c31e7ea539cfda74d249f49ae57ad486baf /src/qt/bitcoingui.cpp | |
parent | c7cfd20a77ce57d200b3b9e5e0dfb0d63818abdc (diff) | |
download | bitcoin-d2ae6be80f6a0156021bf8c9b9d17cd4966ddffc.tar.xz |
gui: Set progressDialog to nullptr
Diffstat (limited to 'src/qt/bitcoingui.cpp')
-rw-r--r-- | src/qt/bitcoingui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index ff66df376b..b5c92e10a2 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -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); |