mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
Bring back paymentID to tranfer page and force hide paymentId on a settings toggle (and reset fields on transfer page)
This commit is contained in:
parent
9689fff957
commit
02493be6eb
3 changed files with 3 additions and 2 deletions
2
main.qml
2
main.qml
|
@ -1047,7 +1047,7 @@ ApplicationWindow {
|
||||||
property bool hideBalance: false
|
property bool hideBalance: false
|
||||||
property bool lockOnUserInActivity: true
|
property bool lockOnUserInActivity: true
|
||||||
property int lockOnUserInActivityInterval: 10 // minutes
|
property int lockOnUserInActivityInterval: 10 // minutes
|
||||||
property bool showPid: false
|
property bool showPid: true
|
||||||
}
|
}
|
||||||
|
|
||||||
// Information dialog
|
// Information dialog
|
||||||
|
|
|
@ -300,7 +300,7 @@ Rectangle {
|
||||||
fontSize: paymentIdLine.labelFontSize
|
fontSize: paymentIdLine.labelFontSize
|
||||||
iconOnTheLeft: false
|
iconOnTheLeft: false
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
text: qsTr("Payment ID <font size='2'>( Optional )</font>") + translationManager.emptyString
|
text: qsTr("Payment ID <font size='2'>( Optional, deprecated )</font>") + translationManager.emptyString
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (!paymentIdCheckbox.checked) {
|
if (!paymentIdCheckbox.checked) {
|
||||||
paymentIdLine.text = "";
|
paymentIdLine.text = "";
|
||||||
|
|
|
@ -84,6 +84,7 @@ Rectangle {
|
||||||
checked: persistentSettings.showPid
|
checked: persistentSettings.showPid
|
||||||
onClicked: {
|
onClicked: {
|
||||||
persistentSettings.showPid = !persistentSettings.showPid
|
persistentSettings.showPid = !persistentSettings.showPid
|
||||||
|
middlePanel.transferView.clearFields();
|
||||||
}
|
}
|
||||||
text: qsTr("Enable transfer with payment ID (OBSOLETE)") + translationManager.emptyString
|
text: qsTr("Enable transfer with payment ID (OBSOLETE)") + translationManager.emptyString
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue