mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix search rooms button
This commit is contained in:
parent
53bbfefbab
commit
ee1a219661
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue