From 005cf1cc08e10ec0f7da057964a56cd889629f2f Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 23 Oct 2017 17:57:22 +0200 Subject: Always select the latest notification --- components/kube/contents/ui/LogView.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'components') diff --git a/components/kube/contents/ui/LogView.qml b/components/kube/contents/ui/LogView.qml index c1cc36fd..4475e318 100644 --- a/components/kube/contents/ui/LogView.qml +++ b/components/kube/contents/ui/LogView.qml @@ -29,7 +29,9 @@ Controls.SplitView { property bool pendingError: false; Controls2.StackView.onActivated: { - pendingError = false; + root.pendingError = false; + //Always select the latest notification + listView.currentIndex = 0 } Item { -- cgit v1.2.3