aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2021-04-26 11:17:59 +0000
committerxiphon <xiphon@protonmail.com>2021-04-26 11:17:59 +0000
commitdb8c4edb080a18837e6e0bc23651f97389c1738b (patch)
treeafa8da9637991cd22d1bbd9733000d2e4345a383
parent02ae14fd6bcd705ed838fba627775e4d8d52b5f3 (diff)
downloadmonzero-gui-db8c4edb080a18837e6e0bc23651f97389c1738b.tar.gz
monzero-gui-db8c4edb080a18837e6e0bc23651f97389c1738b.tar.xz
monzero-gui-db8c4edb080a18837e6e0bc23651f97389c1738b.zip
main: handleTransactionConfirmed - fix 'no file specified' case
-rw-r--r--main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.qml b/main.qml
index 8c0603e8..889eafd1 100644
--- a/main.qml
+++ b/main.qml
@@ -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)