mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +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)")
|
ToolTip.text: qsTr("Search rooms (Ctrl+K)")
|
||||||
Layout.margins: Nheko.paddingMedium
|
Layout.margins: Nheko.paddingMedium
|
||||||
onClicked: {
|
onClicked: {
|
||||||
var quickSwitch = quickSwitcherComponent.createObject(timelineRoot);
|
var quickSwitch = Qt.createComponent("qrc:/qml/QuickSwitcher.qml").createObject(timelineRoot);
|
||||||
quickSwitch.open();
|
quickSwitch.open();
|
||||||
timelineRoot.destroyOnClose(quickSwitch);
|
destroyOnClosed(quickSwitch);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue