1
0
Fork 0
mirror of https://github.com/HenkKalkwater/sddm-nx synced 2024-11-16 08:25:18 +00:00

Don't show error messages on non-main screen

This commit is contained in:
Chris Josten 2020-05-18 13:39:03 +02:00
parent 4db8980d83
commit bf79c1c1ee

View file

@ -1,4 +1,4 @@
import QtQuick 2.0 import QtQuick 2.7
//import QtGamepad 1.0 //import QtGamepad 1.0
import SddmComponents 2.0 import SddmComponents 2.0
@ -52,7 +52,7 @@ Rectangle {
SequentialAnimation { SequentialAnimation {
id: startupAnim id: startupAnim
running: true running: _userSelector != null
ColorAnimation { ColorAnimation {
target: root target: root
property: "color" property: "color"
@ -71,6 +71,7 @@ Rectangle {
Connections { Connections {
target: sddm target: sddm
enabled: _userSelector != null
onLoginFailed: { onLoginFailed: {
errorDialog.show() errorDialog.show()
} }