Turn JoinRoom field red on error

This commit is contained in:
miruka 2019-11-09 10:34:54 -04:00
parent e95a23ef90
commit c34676e5a0

View File

@ -57,6 +57,7 @@ HBox {
HTextField { HTextField {
id: roomField id: roomField
placeholderText: qsTr("Alias (e.g. #example:matrix.org), URL or ID") placeholderText: qsTr("Alias (e.g. #example:matrix.org), URL or ID")
error: Boolean(errorMessage.text)
Layout.fillWidth: true Layout.fillWidth: true
} }