diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-11-01 14:56:23 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-11-01 15:11:58 +0100 |
commit | ee1a219661476721749f1ad534f82124da2fdea2 (patch) | |
tree | 34a4e467a5accac237852d0ea90ee0539e5baa0f /resources/qml | |
parent | Translated using Weblate (Russian) (diff) | |
download | nheko-ee1a219661476721749f1ad534f82124da2fdea2.tar.xz |
Fix search rooms button
Diffstat (limited to 'resources/qml')
-rw-r--r-- | resources/qml/RoomList.qml | 4 |
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); } } |