mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
addressbook: fix tooltip label and visibility
This commit is contained in:
parent
c7c112e51c
commit
3c970bf278
1 changed files with 3 additions and 3 deletions
|
@ -127,7 +127,7 @@ ListView {
|
|||
ListElement { name: "<b>Copy address to clipboard</b>"; icon: "../images/dropdownCopy.png" }
|
||||
ListElement { name: "<b>Send to same destination</b>"; icon: "../images/dropdownSend.png" }
|
||||
// ListElement { name: "<b>Find similar transactions</b>"; icon: "../images/dropdownSearch.png" }
|
||||
ListElement { name: "<b>Remove from history</b>"; icon: "../images/dropdownDel.png" }
|
||||
ListElement { name: "<b>Remove from address book</b>"; icon: "../images/dropdownDel.png" }
|
||||
}
|
||||
|
||||
Clipboard { id: clipboard }
|
||||
|
@ -145,6 +145,8 @@ ListView {
|
|||
}
|
||||
}
|
||||
onOptionClicked: {
|
||||
// Ensure tooltip is closed
|
||||
appWindow.toolTip.visible = false;
|
||||
if(option === 0)
|
||||
clipboard.setText(address)
|
||||
else if(option === 1){
|
||||
|
@ -155,8 +157,6 @@ ListView {
|
|||
console.log("Delete: ", rowId);
|
||||
currentWallet.addressBookModel.deleteRow(rowId);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue