enter key now works, fix room highlighting and add overlay
This commit is contained in:
parent
3f4ad1dd8b
commit
b1dec6f6ac
7 changed files with 30 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue