Fix search rooms button

pull/1222/head
Nicolas Werner 2 years ago
parent 53bbfefbab
commit ee1a219661
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 4
      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);
}
}

Loading…
Cancel
Save