Merge pull request #3443

db8c4ed main: handleTransactionConfirmed - fix 'no file specified' case (xiphon)
This commit is contained in:
luigi1111 2021-04-29 14:14:24 -04:00
commit 9a216682c8
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -932,7 +932,7 @@ ApplicationWindow {
// called after user confirms transaction
function handleTransactionConfirmed(fileName) {
// View only wallet - we save the tx
if(viewOnly && saveTxDialog.fileUrl){
if(viewOnly){
// No file specified - abort
if(!saveTxDialog.fileUrl) {
currentWallet.disposeTransaction(transaction)