diff --git a/src/app/qml/QuickSwitcher.qml b/src/app/qml/QuickSwitcher.qml index c1bdf1e23..46cad1dd5 100644 --- a/src/app/qml/QuickSwitcher.qml +++ b/src/app/qml/QuickSwitcher.qml @@ -22,7 +22,7 @@ Kirigami.SearchDialog { } onAccepted: if (currentItem) { - (currentItem as QQC2.ItemDelegate).clicked(); + (root.currentItem as RoomDelegate).clicked(); } onTextChanged: RoomManager.sortFilterRoomListModel.filterText = text