Fix clicking on room in filtered list
This commit is contained in:
parent
37042f6365
commit
7042df003f
1
TODO.md
1
TODO.md
|
@ -1,5 +1,6 @@
|
|||
# TODO
|
||||
|
||||
- account context menu
|
||||
- add account number binds
|
||||
- rename goto*account → scrollto*account
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Layouts 1.12
|
||||
import QtQml.Models 2.12
|
||||
import ".."
|
||||
import "../Base"
|
||||
|
||||
|
@ -17,7 +18,7 @@ HListView {
|
|||
delegate: Room {
|
||||
id: room
|
||||
width: roomList.width
|
||||
onActivated: showRoomAtIndex(model.index)
|
||||
onActivated: showRoomAtIndex(DelegateModel.filteredIndex)
|
||||
ListView.onAdd: ParallelAnimation {
|
||||
HNumberAnimation {
|
||||
target: room; property: "opacity"; from: 0; to: 1;
|
||||
|
|
Loading…
Reference in New Issue
Block a user