@@ -192,8 +192,8 @@ Page {
192192 labelText: qsTr (" Label" )
193193 placeholderText: qsTr (" Enter label..." )
194194 text: root .request ? root .request .label : " "
195- onTextEdited : {
196- if (root .request ) {
195+ onTextChanged : {
196+ if (root .request && root . request . label !== label . text ) {
197197 root .request .label = label .text
198198 }
199199 }
@@ -210,8 +210,8 @@ Page {
210210 labelText: qsTr (" Message" )
211211 placeholderText: qsTr (" Enter message..." )
212212 text: root .request ? root .request .message : " "
213- onTextEdited : {
214- if (root .request ) {
213+ onTextChanged : {
214+ if (root .request && root . request . message !== message . text ) {
215215 root .request .message = message .text
216216 }
217217 }
@@ -360,6 +360,8 @@ Page {
360360 required property string amountDisplay
361361 required property string uri
362362
363+ signal clicked
364+
363365 objectName: " receiveHistoryRow_" + requestId
364366 width: historyList .width
365367 height: 62
@@ -368,6 +370,12 @@ Page {
368370 ? Theme .color .orangeLight2
369371 : Theme .color .neutral2
370372
373+ onClicked: {
374+ if (root .wallet && root .wallet .loadPaymentRequest ) {
375+ root .wallet .loadPaymentRequest (requestId)
376+ }
377+ }
378+
371379 Column {
372380 anchors .fill : parent
373381 anchors .margins : 8
@@ -392,11 +400,7 @@ Page {
392400
393401 MouseArea {
394402 anchors .fill : parent
395- onClicked: {
396- if (root .wallet && root .wallet .loadPaymentRequest ) {
397- root .wallet .loadPaymentRequest (requestId)
398- }
399- }
403+ onClicked: parent .clicked ()
400404 }
401405 }
402406 }
@@ -453,6 +457,7 @@ Page {
453457 }
454458 contentItem: QRImage {
455459 id: qrImage
460+ objectName: " receiveQrImage"
456461 backgroundColor: " transparent"
457462 foregroundColor: Theme .color .neutral9
458463 code: root .request ? root .request .qrPayload : " "
0 commit comments