qml: show explanatory text when sharing partially signed tx
after creating a multisig transaction
This commit is contained in:
@@ -51,13 +51,12 @@ ElDialog {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
InfoTextArea {
|
||||||
|
Layout.fillWidth: true
|
||||||
|
Layout.margins: constants.paddingLarge
|
||||||
visible: dialog.text_help
|
visible: dialog.text_help
|
||||||
text: dialog.text_help
|
text: dialog.text_help
|
||||||
wrapMode: Text.Wrap
|
|
||||||
Layout.fillWidth: true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -24,8 +24,11 @@ Pane {
|
|||||||
app.stack.pop()
|
app.stack.pop()
|
||||||
}
|
}
|
||||||
|
|
||||||
function showExport() {
|
function showExport(helptext) {
|
||||||
var dialog = exportTxDialog.createObject(root, { txdetails: txdetails })
|
var dialog = exportTxDialog.createObject(root, {
|
||||||
|
txdetails: txdetails,
|
||||||
|
text_help: helptext
|
||||||
|
})
|
||||||
dialog.open()
|
dialog.open()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -400,7 +400,7 @@ Item {
|
|||||||
onFinishedSave: {
|
onFinishedSave: {
|
||||||
// tx was (partially) signed and saved. Show QR for co-signers or online wallet
|
// 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 })
|
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()
|
_confirmPaymentDialog.destroy()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user