mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 03:59:38 +00:00
Transfer: warn if description is a valid PID
This commit is contained in:
parent
d2c47606ca
commit
7f1fa6bbd6
1 changed files with 10 additions and 0 deletions
|
@ -355,9 +355,19 @@ Rectangle {
|
||||||
placeholderText: qsTr("Saved to local wallet history") + translationManager.emptyString
|
placeholderText: qsTr("Saved to local wallet history") + translationManager.emptyString
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
visible: descriptionCheckbox.checked
|
visible: descriptionCheckbox.checked
|
||||||
|
onTextChanged: {
|
||||||
|
paymentIdWarningBox.visible = walletManager.paymentIdValid(text) && !persistentSettings.showPid
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MoneroComponents.WarningBox {
|
||||||
|
// @TODO: remove after pid removal hardfork
|
||||||
|
id: paymentIdWarningBox
|
||||||
|
text: qsTr("You can enable transfers with payment ID on the settings page.") + translationManager.emptyString;
|
||||||
|
visible: false
|
||||||
|
}
|
||||||
|
|
||||||
MoneroComponents.WarningBox {
|
MoneroComponents.WarningBox {
|
||||||
id: sendButtonWarningBox
|
id: sendButtonWarningBox
|
||||||
text: root.sendButtonWarning
|
text: root.sendButtonWarning
|
||||||
|
|
Loading…
Reference in a new issue