Skip to content
Snippets Groups Projects
Commit 35e6cf00 authored by Loren Burkholder's avatar Loren Burkholder
Browse files

Close current room on Ctrl+W

parent 747fe640
Branches test-lint
No related tags found
No related merge requests found
Pipeline #2942 passed
...@@ -84,6 +84,9 @@ an emoji will add HTML code for the inline image into the input line. ...@@ -84,6 +84,9 @@ an emoji will add HTML code for the inline image into the input line.
*Ctrl-Up/Ctrl-Down*:: *Ctrl-Up/Ctrl-Down*::
Navigate within the room list. Navigate within the room list.
*Ctrl-W*::
Close the currently open room.
*Ctrl-K*:: *Ctrl-K*::
Search and select rooms from the room list. Search and select rooms from the room list.
......
...@@ -25,6 +25,11 @@ Item { ...@@ -25,6 +25,11 @@ Item {
property bool showBackButton: false property bool showBackButton: false
clip: true clip: true
Shortcut {
sequence: StandardKey.Close
onActivated: Rooms.resetCurrentRoom()
}
Label { Label {
visible: !room && !TimelineManager.isInitialSync && (!roomPreview || !roomPreview.roomid) visible: !room && !TimelineManager.isInitialSync && (!roomPreview || !roomPreview.roomid)
anchors.centerIn: parent anchors.centerIn: parent
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment