enter key now works, fix room highlighting and add overlay

This commit is contained in:
Jedi18 2021-02-23 00:18:31 +05:30
parent 3f4ad1dd8b
commit b1dec6f6ac
7 changed files with 30 additions and 1 deletions

View file

@ -52,6 +52,12 @@ Popup {
return null;
}
function finishCompletion() {
if(popup.completerName == "room") {
popup.completionSelected(listView.itemAtIndex(currentIndex).modelData.roomid)
}
}
onCompleterNameChanged: {
if (completerName) {
if (completerName == "user") {
@ -85,6 +91,7 @@ Popup {
color: model.index == popup.currentIndex ? colors.highlight : colors.base
height: chooser.childrenRect.height + 4
implicitWidth: fullWidth ? popup.width : chooser.childrenRect.width + 4
property variant modelData: model
MouseArea {
id: mouseArea