Browse Source

check dialog is active before updating

import_zecw
Aditya Kulkarni 6 years ago
parent
commit
339b5d9a2c
  1. 2
      src/mainwindow.cpp

2
src/mainwindow.cpp

@ -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…
Cancel
Save