summaryrefslogtreecommitdiff
path: root/gui/qml/main.qml
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2020-10-02 11:18:19 +0200
committerRuben Pollan <meskio@sindominio.net>2020-10-02 11:18:19 +0200
commit2079772a55e593b75b64d7eb18738dfbaa64dfda (patch)
tree6c480e9b78717b4f0c0906e4b2eeb59d51cd6232 /gui/qml/main.qml
parent67c388c3ed367f2d110174069c8e201180255e62 (diff)
[ui] disable the donate entry on the menu if no donation
Diffstat (limited to 'gui/qml/main.qml')
-rw-r--r--gui/qml/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/qml/main.qml b/gui/qml/main.qml
index adf11bd..367debe 100644
--- a/gui/qml/main.qml
+++ b/gui/qml/main.qml
@@ -252,7 +252,7 @@ ApplicationWindow {
MenuItem {
text: qsTr("Donate...")
- visible: true
+ visible: ctx && ctx.donateURL
onTriggered: { donate.visible = true }
}