aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorrating89us <45968869+rating89us@users.noreply.github.com>2021-06-04 18:22:45 +0200
committerrating89us <rating89us@rating89us.com>2021-06-04 19:39:21 +0200
commitf06d6e067f60a7c4626dbdf388556d6c55b5e9ee (patch)
tree6192c9eeabd65747e745816ea08985fd646ab24b /components
parent2946127ed791ef8dd6dc430b681a14cd5bd2d71e (diff)
downloadmonzero-gui-f06d6e067f60a7c4626dbdf388556d6c55b5e9ee.tar.gz
monzero-gui-f06d6e067f60a7c4626dbdf388556d6c55b5e9ee.tar.xz
monzero-gui-f06d6e067f60a7c4626dbdf388556d6c55b5e9ee.zip
Transfer: add XMR unit on transactions with a single recipient; move "send all" button next to Amount label
Diffstat (limited to 'components')
-rw-r--r--components/InlineButton.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/components/InlineButton.qml b/components/InlineButton.qml
index 8e0d278b..09d3aadf 100644
--- a/components/InlineButton.qml
+++ b/components/InlineButton.qml
@@ -95,7 +95,10 @@ Item {
cursorShape: rect.enabled ? Qt.PointingHandCursor : Qt.ArrowCursor
hoverEnabled: true
anchors.fill: parent
- onClicked: doClick()
+ onClicked: {
+ tooltip.text ? tooltip.tooltipPopup.close() : ""
+ doClick()
+ }
onEntered: {
tooltip.text ? tooltip.tooltipPopup.open() : ""
rect.color = buttonColor ? buttonColor : "#707070";