From 5af3030e7ce086a26372dfc1c1b9bba69c85491b Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 3 Jul 2018 12:20:49 +0200 Subject: visible doesn't work as we'd like --- views/log/qml/View.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/log/qml/View.qml b/views/log/qml/View.qml index 5c4cabee..30b87bcc 100644 --- a/views/log/qml/View.qml +++ b/views/log/qml/View.qml @@ -20,7 +20,7 @@ import QtQuick 2.4 import QtQuick.Layouts 1.1 import QtQuick.Controls 1.3 as Controls1 -import QtQuick.Controls 2.0 as Controls2 +import QtQuick.Controls 2.2 as Controls2 import org.kube.framework 1.0 as Kube Controls1.SplitView { @@ -55,7 +55,7 @@ Controls1.SplitView { return } //Avoid highlighting the iconbutton again if we're already looking at this view. - if (!Controls2.StackView.visible) { + if (root.Controls2.StackView.status != Controls2.StackView.Active) { if (message.type == Kube.Notifications.error) { root.pendingError = true } -- cgit v1.2.3