JoinRoom: enable join button if field is not empty
This commit is contained in:
parent
fa25c101ff
commit
66fe230044
|
@ -10,7 +10,8 @@ HBox {
|
|||
onFocusChanged: roomField.forceActiveFocus()
|
||||
|
||||
buttonModel: [
|
||||
{ name: "apply", text: qsTr("Join"), iconName: "apply" },
|
||||
{ name: "apply", text: qsTr("Join"), iconName: "apply",
|
||||
enabled: Boolean(roomField.text), },
|
||||
{ name: "cancel", text: qsTr("Cancel"), iconName: "cancel" },
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user