Improve window closing

pull/659/head
kamathmanu 4 years ago
parent 4ec0c8c9bb
commit 34ffe054cf
  1. 7
      resources/qml/RoomDirectory.qml

@ -19,9 +19,14 @@ ApplicationWindow {
palette: Nheko.colors
color: Nheko.colors.window
modality: Qt.WindowModal
flags: Qt.Dialog
flags: Qt.Dialog | Qt.WindowCloseButtonHint
title: qsTr("Explore Public Rooms")
Shortcut {
sequence: StandardKey.Cancel
onActivated: roomDirectoryWindow.close()
}
header: RowLayout {
id: searchBarLayout
spacing: Nheko.paddingMedium

Loading…
Cancel
Save