From bf79c1c1ee8af4966b0d756efcee4d8499d762de Mon Sep 17 00:00:00 2001 From: Henk Kalkwater Date: Mon, 18 May 2020 13:39:03 +0200 Subject: [PATCH] Don't show error messages on non-main screen --- Main.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Main.qml b/Main.qml index 19555c3..b207e16 100644 --- a/Main.qml +++ b/Main.qml @@ -1,4 +1,4 @@ -import QtQuick 2.0 +import QtQuick 2.7 //import QtGamepad 1.0 import SddmComponents 2.0 @@ -52,7 +52,7 @@ Rectangle { SequentialAnimation { id: startupAnim - running: true + running: _userSelector != null ColorAnimation { target: root property: "color" @@ -71,6 +71,7 @@ Rectangle { Connections { target: sddm + enabled: _userSelector != null onLoginFailed: { errorDialog.show() }