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
|
# TODO
|
||||||
|
|
||||||
|
- account context menu
|
||||||
- add account number binds
|
- add account number binds
|
||||||
- rename goto*account → scrollto*account
|
- rename goto*account → scrollto*account
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
import QtQuick 2.12
|
import QtQuick 2.12
|
||||||
import QtQuick.Layouts 1.12
|
import QtQuick.Layouts 1.12
|
||||||
|
import QtQml.Models 2.12
|
||||||
import ".."
|
import ".."
|
||||||
import "../Base"
|
import "../Base"
|
||||||
|
|
||||||
|
@ -17,7 +18,7 @@ HListView {
|
||||||
delegate: Room {
|
delegate: Room {
|
||||||
id: room
|
id: room
|
||||||
width: roomList.width
|
width: roomList.width
|
||||||
onActivated: showRoomAtIndex(model.index)
|
onActivated: showRoomAtIndex(DelegateModel.filteredIndex)
|
||||||
ListView.onAdd: ParallelAnimation {
|
ListView.onAdd: ParallelAnimation {
|
||||||
HNumberAnimation {
|
HNumberAnimation {
|
||||||
target: room; property: "opacity"; from: 0; to: 1;
|
target: room; property: "opacity"; from: 0; to: 1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user