Fix some input field issue.
This commit is contained in:
@@ -21,11 +21,11 @@ Rectangle {
|
||||
roomContextMenu.popup()
|
||||
}
|
||||
onPrimaryClicked: {
|
||||
listView.currentIndex = index
|
||||
if (category === RoomType.Invited) {
|
||||
inviteDialog.currentRoom = currentRoom
|
||||
inviteDialog.open()
|
||||
} else {
|
||||
listView.currentIndex = index
|
||||
enteredRoom = currentRoom
|
||||
}
|
||||
}
|
||||
|
||||
@@ -274,6 +274,9 @@ Item {
|
||||
|
||||
RoomPanelInput {
|
||||
anchors.verticalCenter: parent.top
|
||||
|
||||
id: roomPanelInput
|
||||
|
||||
width: parent.width
|
||||
height: 48
|
||||
}
|
||||
|
||||
@@ -189,4 +189,12 @@ Rectangle {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function insert(str) {
|
||||
inputField.insert(inputField.cursorPosition, str)
|
||||
}
|
||||
|
||||
function clear() {
|
||||
inputField.clear()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user