From 2079772a55e593b75b64d7eb18738dfbaa64dfda Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Fri, 2 Oct 2020 11:18:19 +0200 Subject: [ui] disable the donate entry on the menu if no donation --- gui/qml/main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/qml/main.qml') 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 } } -- cgit v1.2.3