From c4bfc04603c361e6a3833f5846d311a73073cd18 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Wed, 10 Mar 2021 22:36:26 +0100 Subject: [bug] inform backend when donate dialog is shown a rather annoying bug, since it keeps popping up for every status change. to be included in a hotfix for 0.21.2 release. - Release: 0.21.2 - Closes: #459 --- gui/qml/main.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gui/qml/main.qml') diff --git a/gui/qml/main.qml b/gui/qml/main.qml index 4ac1972..aed08ea 100644 --- a/gui/qml/main.qml +++ b/gui/qml/main.qml @@ -21,11 +21,10 @@ ApplicationWindow { onDataChanged: { ctx = JSON.parse(jsonModel.getJson()) - // FIXME -- we need to inform the backend that we've already seen - // this. Otherwise this keeps popping randonmly on state changes. if (ctx.donateDialog == 'true') { console.debug(jsonModel.getJson()) donate.visible = true + backend.donateSeen() } if (ctx.loginDialog == 'true') { console.debug(jsonModel.getJson()) -- cgit v1.2.3