mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-24 03:58:49 +03:00
Close current room on Ctrl+W
This commit is contained in:
parent
747fe6408d
commit
35e6cf003d
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue