Skip to content
Snippets Groups Projects
Unverified Commit d3c7b035 authored by Nicolas Werner's avatar Nicolas Werner Committed by GitHub
Browse files

Merge pull request #1037 from Nheko-Reborn/closeOnCtrlW

Close current room on Ctrl+W
parents 747fe640 35e6cf00
No related branches found
No related tags found
No related merge requests found
Pipeline #2943 passed
......@@ -84,6 +84,9 @@ an emoji will add HTML code for the inline image into the input line.
*Ctrl-Up/Ctrl-Down*::
Navigate within the room list.
*Ctrl-W*::
Close the currently open room.
*Ctrl-K*::
Search and select rooms from the room list.
......
......@@ -25,6 +25,11 @@ Item {
property bool showBackButton: false
clip: true
Shortcut {
sequence: StandardKey.Close
onActivated: Rooms.resetCurrentRoom()
}
Label {
visible: !room && !TimelineManager.isInitialSync && (!roomPreview || !roomPreview.roomid)
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