summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-11-01 14:56:23 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2022-11-01 15:11:58 +0100
commitee1a219661476721749f1ad534f82124da2fdea2 (patch)
tree34a4e467a5accac237852d0ea90ee0539e5baa0f /resources
parentTranslated using Weblate (Russian) (diff)
downloadnheko-ee1a219661476721749f1ad534f82124da2fdea2.tar.xz
Fix search rooms button
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/RoomList.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/RoomList.qml b/resources/qml/RoomList.qml

index cfc0e215..b64df669 100644 --- a/resources/qml/RoomList.qml +++ b/resources/qml/RoomList.qml
@@ -775,9 +775,9 @@ Page { ToolTip.text: qsTr("Search rooms (Ctrl+K)") Layout.margins: Nheko.paddingMedium onClicked: { - var quickSwitch = quickSwitcherComponent.createObject(timelineRoot); + var quickSwitch = Qt.createComponent("qrc:/qml/QuickSwitcher.qml").createObject(timelineRoot); quickSwitch.open(); - timelineRoot.destroyOnClose(quickSwitch); + destroyOnClosed(quickSwitch); } }