parent
3d66568ceb
commit
58c80aaf81
|
@ -275,6 +275,9 @@ void MainWindow::encryptWallet() {
|
||||||
fnShowError(tr("Wallet Encryption Failed"), reply);
|
fnShowError(tr("Wallet Encryption Failed"), reply);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// And then refresh the UI
|
||||||
|
rpc->refresh(true);
|
||||||
} else {
|
} else {
|
||||||
fnShowError(tr("Wallet Encryption Failed"), res);
|
fnShowError(tr("Wallet Encryption Failed"), res);
|
||||||
}
|
}
|
||||||
|
@ -312,6 +315,9 @@ void MainWindow::removeWalletEncryption() {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// And then refresh the UI
|
||||||
|
rpc->refresh(true);
|
||||||
} else {
|
} else {
|
||||||
QMessageBox::critical(this, tr("Wallet Decryption Failed"),
|
QMessageBox::critical(this, tr("Wallet Decryption Failed"),
|
||||||
QString::fromStdString(res["error"].get<json::string_t>()),
|
QString::fromStdString(res["error"].get<json::string_t>()),
|
||||||
|
|
Loading…
Reference in New Issue