[welcomeq] use negatedText for better text on missing

This commit is contained in:
demmm 2020-05-14 23:11:05 +02:00
parent 3db12cc29e
commit 153d605bb6
2 changed files with 2 additions and 2 deletions

View file

@ -79,7 +79,7 @@ Rectangle {
} }
Text { Text {
text: ( satisfied ? 'Met: ' : 'Missing: ' ) + name + " " + details text: satisfied ? details : negatedText
anchors.centerIn: parent anchors.centerIn: parent
font.pointSize: 11 font.pointSize: 11
} }

View file

@ -79,7 +79,7 @@ Rectangle {
} }
Text { Text {
text: ( mandatory ? 'Met: ' : 'Failed: ' ) + name + " " + details text: mandatory ? details : negatedText
anchors.centerIn: parent anchors.centerIn: parent
font.pointSize: 11 font.pointSize: 11
} }