mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 16:28:14 +00:00
AddressBook: highlight background when selecting contact for transfer page
This commit is contained in:
parent
937cb98256
commit
7997e6aaf4
1 changed files with 3 additions and 1 deletions
|
@ -134,7 +134,7 @@ Rectangle {
|
||||||
height: addressBookListRow.addressBookListItemHeight
|
height: addressBookListRow.addressBookListItemHeight
|
||||||
width: parent ? parent.width : undefined
|
width: parent ? parent.width : undefined
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
color: "transparent"
|
color: itemMouseArea.containsMouse ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent"
|
||||||
|
|
||||||
function doSend() {
|
function doSend() {
|
||||||
console.log("Sending to: ", address +" "+ paymentId);
|
console.log("Sending to: ", address +" "+ paymentId);
|
||||||
|
@ -187,8 +187,10 @@ Rectangle {
|
||||||
}
|
}
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
|
id: itemMouseArea
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
cursorShape: Qt.PointingHandCursor
|
cursorShape: Qt.PointingHandCursor
|
||||||
|
hoverEnabled: true
|
||||||
visible: root.selectAndSend
|
visible: root.selectAndSend
|
||||||
onClicked: {
|
onClicked: {
|
||||||
doSend();
|
doSend();
|
||||||
|
|
Loading…
Reference in a new issue