forked from Public/monero-gui
Merge pull request #2080
7f1fa6b Transfer: warn if description is a valid PID (selsta)
This commit is contained in:
@@ -355,9 +355,19 @@ Rectangle {
|
||||
placeholderText: qsTr("Saved to local wallet history") + translationManager.emptyString
|
||||
Layout.fillWidth: true
|
||||
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 {
|
||||
id: sendButtonWarningBox
|
||||
text: root.sendButtonWarning
|
||||
|
||||
Reference in New Issue
Block a user