check dialog is active before updating
This commit is contained in:
parent
686c99cbc8
commit
339b5d9a2c
|
@ -725,7 +725,7 @@ void MainWindow::exportKeys(QString addr) {
|
|||
|
||||
auto fnUpdateUIWithKeys = [=](QList<QPair<QString, QString>> privKeys) {
|
||||
// Check to see if we are still showing.
|
||||
if (!isDialogAlive) return;
|
||||
if (! *(isDialogAlive.get()) ) return;
|
||||
|
||||
QString allKeysTxt;
|
||||
for (auto keypair : privKeys) {
|
||||
|
|
Loading…
Reference in New Issue