From dbd28419ade062b82e2b7184aff5ced0db4ebf10 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 14 May 2018 10:25:41 +0200 Subject: Deal with asynchronous component creation. On windows event local components are apparently instantiated asynchronously. --- views/log/qml/View.qml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'views') diff --git a/views/log/qml/View.qml b/views/log/qml/View.qml index bf06b76c..3aa76025 100644 --- a/views/log/qml/View.qml +++ b/views/log/qml/View.qml @@ -27,6 +27,9 @@ Controls1.SplitView { id: root property bool pendingError: false; + onPendingErrorChanged: { + Kube.Fabric.postMessage(Kube.Messages.errorPending, {errorPending: pendingError}) + } Controls2.StackView.onActivated: { root.pendingError = false; -- cgit v1.2.3