diff --git a/src/app/qml/QuickSwitcher.qml b/src/app/qml/QuickSwitcher.qml index 8e40dc4a9..3f60cb6cc 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