diff options
author | Ruben Pollan <meskio@sindominio.net> | 2020-10-02 11:18:19 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2020-10-02 11:18:19 +0200 |
commit | 2079772a55e593b75b64d7eb18738dfbaa64dfda (patch) | |
tree | 6c480e9b78717b4f0c0906e4b2eeb59d51cd6232 /gui/qml/main.qml | |
parent | 67c388c3ed367f2d110174069c8e201180255e62 (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.qml | 2 |
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 } } |