forked from Public/monero-gui
Wallet: implement async wallet storing
This commit is contained in:
6
main.qml
6
main.qml
@@ -972,7 +972,11 @@ ApplicationWindow {
|
||||
informationPopup.open()
|
||||
currentWallet.refresh()
|
||||
currentWallet.disposeTransaction(transaction)
|
||||
currentWallet.store();
|
||||
currentWallet.storeAsync(function(success) {
|
||||
if (!success) {
|
||||
appWindow.showStatusMessage(qsTr("Failed to store the wallet"), 3);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// called on "getProof"
|
||||
|
||||
Reference in New Issue
Block a user