main: handleTransactionConfirmed - fix 'no file specified' case

This commit is contained in:
xiphon 2021-04-26 11:17:59 +00:00
parent 02ae14fd6b
commit db8c4edb08

View file

@ -938,7 +938,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)