mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 03:47:26 -04: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:
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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user