diff --git a/main.qml b/main.qml index d779ba0e..3aa9d6cc 100644 --- a/main.qml +++ b/main.qml @@ -628,6 +628,10 @@ ApplicationWindow { for (var i = 0; i < txid.length; ++i) currentWallet.setUserNote(txid[i], transactionDescription); } + + // Clear tx fields + middlePanel.transferView.clearFields() + } informationPopup.onCloseCallback = null informationPopup.open() diff --git a/pages/Transfer.qml b/pages/Transfer.qml index 79efc28d..1d482474 100644 --- a/pages/Transfer.qml +++ b/pages/Transfer.qml @@ -86,6 +86,13 @@ Rectangle { cameraUi.qrcode_decoded.disconnect(updateFromQrCode) } + function clearFields() { + addressLine.text = "" + paymentIdLine.text = "" + amountLine.text = "" + descriptionLine.text = "" + } + // Information dialog StandardDialog { // dynamically change onclose handler diff --git a/wizard/WizardRecoveryWallet.qml b/wizard/WizardRecoveryWallet.qml index 92e1e751..34fd580e 100644 --- a/wizard/WizardRecoveryWallet.qml +++ b/wizard/WizardRecoveryWallet.qml @@ -45,7 +45,10 @@ Item { // reset account name field uiItem.accountNameText = defaultAccountName // Empty seedText - uiItem.wordsTextItem.memoText = ""; + uiItem.wordsTextItem.memoText = "" + uiItem.recoverFromKeysAddress = "" + uiItem.recoverFromKeysSpendKey = "" + uiItem.recoverFromKeysViewKey = "" } function onPageOpened(settingsObject) {