Browse Source

qml: show explanatory text when sharing partially signed tx

after creating a multisig transaction
master
Sander van Grieken 3 years ago
parent
commit
288b7cd3bc
  1. 7
      electrum/gui/qml/components/ExportTxDialog.qml
  2. 7
      electrum/gui/qml/components/TxDetails.qml
  3. 2
      electrum/gui/qml/components/WalletMainView.qml

7
electrum/gui/qml/components/ExportTxDialog.qml

@ -51,13 +51,12 @@ ElDialog {
}
}
Label {
InfoTextArea {
Layout.fillWidth: true
Layout.margins: constants.paddingLarge
visible: dialog.text_help
text: dialog.text_help
wrapMode: Text.Wrap
Layout.fillWidth: true
}
}
}

7
electrum/gui/qml/components/TxDetails.qml

@ -24,8 +24,11 @@ Pane {
app.stack.pop()
}
function showExport() {
var dialog = exportTxDialog.createObject(root, { txdetails: txdetails })
function showExport(helptext) {
var dialog = exportTxDialog.createObject(root, {
txdetails: txdetails,
text_help: helptext
})
dialog.open()
}

2
electrum/gui/qml/components/WalletMainView.qml

@ -400,7 +400,7 @@ Item {
onFinishedSave: {
// tx was (partially) signed and saved. Show QR for co-signers or online wallet
var page = app.stack.push(Qt.resolvedUrl('TxDetails.qml'), { txid: txid })
page.showExport()
page.showExport(qsTr('Transaction created and partially signed by this wallet. Present this QR code to the next co-signer'))
_confirmPaymentDialog.destroy()
}
}

Loading…
Cancel
Save