JoinRoom: enable join button if field is not empty
This commit is contained in:
		@@ -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" },
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user