summaryrefslogtreecommitdiff
path: root/gui/qml/main.qml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-06-16 21:28:48 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-06-26 12:12:41 +0200
commitc17b5f6f7b6b28c890764688ff5e966ecebece63 (patch)
tree4c9931b10e7cddd9050f76aff95205dbf04d6d26 /gui/qml/main.qml
parenta18e61aa1be37aa568552c69fbd743d25498b9bb (diff)
[feat] re-implement donation reminders
first pass on giving functionality to the donation reminder
Diffstat (limited to 'gui/qml/main.qml')
-rw-r--r--gui/qml/main.qml7
1 files changed, 4 insertions, 3 deletions
diff --git a/gui/qml/main.qml b/gui/qml/main.qml
index 98eac80..65c09cb 100644
--- a/gui/qml/main.qml
+++ b/gui/qml/main.qml
@@ -16,10 +16,9 @@ ApplicationWindow {
target: jsonModel
onDataChanged: {
ctx = JSON.parse(jsonModel.getJson());
- if (ctx.donate == 'true') {
+ if (ctx.donateDialog == 'true') {
console.debug(jsonModel.getJson())
donate.visible = true
- backend.toggleDonate()
}
}
}
@@ -171,7 +170,9 @@ ApplicationWindow {
MenuItem {
text: qsTr("Donate...")
visible: true
- //onTriggered: donate.open()
+ onTriggered: {
+ donate.visible = true
+ }
}
MenuItem {