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