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()
|
onFocusChanged: roomField.forceActiveFocus()
|
||||||
|
|
||||||
buttonModel: [
|
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" },
|
{ name: "cancel", text: qsTr("Cancel"), iconName: "cancel" },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user