Skip to content

Commit

Permalink
Merge pull request #329
Browse files Browse the repository at this point in the history
3c970bf addressbook: fix tooltip label and visibility (Jaquee)
  • Loading branch information
fluffypony committed Dec 22, 2016
2 parents c7c112e + 3c970bf commit 13253c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/AddressBookTable.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand All @@ -145,6 +145,8 @@ ListView {
}
}
onOptionClicked: {
// Ensure tooltip is closed
appWindow.toolTip.visible = false;
if(option === 0)
clipboard.setText(address)
else if(option === 1){
Expand All @@ -155,8 +157,6 @@ ListView {
console.log("Delete: ", rowId);
currentWallet.addressBookModel.deleteRow(rowId);
}


}
}

Expand Down

0 comments on commit 13253c3

Please sign in to comment.