summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-05-14 10:25:41 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-05-14 10:25:41 +0200
commitdbd28419ade062b82e2b7184aff5ced0db4ebf10 (patch)
treecbb193455084eeb59b5cfdd3c09d659f3adcec21 /views
parent7bcf3f7cdaa7baf0ebe9e95529c0d2c3c1009e91 (diff)
downloadkube-dbd28419ade062b82e2b7184aff5ced0db4ebf10.tar.gz
kube-dbd28419ade062b82e2b7184aff5ced0db4ebf10.zip
Deal with asynchronous component creation.
On windows event local components are apparently instantiated asynchronously.
Diffstat (limited to 'views')
-rw-r--r--views/log/qml/View.qml3
1 files changed, 3 insertions, 0 deletions
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 {
27 id: root 27 id: root
28 28
29 property bool pendingError: false; 29 property bool pendingError: false;
30 onPendingErrorChanged: {
31 Kube.Fabric.postMessage(Kube.Messages.errorPending, {errorPending: pendingError})
32 }
30 33
31 Controls2.StackView.onActivated: { 34 Controls2.StackView.onActivated: {
32 root.pendingError = false; 35 root.pendingError = false;