Add invite to room keybind

This commit is contained in:
miruka 2020-03-28 12:40:11 -04:00
parent 790229e188
commit 2a648d7f59
3 changed files with 6 additions and 3 deletions

View File

@ -61,9 +61,6 @@
coroutines. Set `disabledWhileLoading` to `false` for all "OK" buttons where coroutines. Set `disabledWhileLoading` to `false` for all "OK" buttons where
it makes sense. it makes sense.
- Add missing room keybindings (e.g. to open the invite members popup)
- Room pane keybindings
- Remember the previously focused item in page for ctrl+tab - Remember the previously focused item in page for ctrl+tab
- https://doc.qt.io/qt-5/qml-qtquick-smoothedanimation.html for progress bars - https://doc.qt.io/qt-5/qml-qtquick-smoothedanimation.html for progress bars
- Improve when HDrawer should collapse when the ui is zoomed - Improve when HDrawer should collapse when the ui is zoomed

View File

@ -287,6 +287,7 @@ class UISettings(JSONDataFile):
"sendFile": ["Alt+S"], "sendFile": ["Alt+S"],
"sendFileFromPathInClipboard": ["Alt+Shift+S"], "sendFileFromPathInClipboard": ["Alt+Shift+S"],
"inviteToRoom": ["Alt+I"],
"toggleFocusRoomPane": ["Alt+R"], "toggleFocusRoomPane": ["Alt+R"],
}, },

View File

@ -93,6 +93,11 @@ HColumnLayout {
) )
Layout.fillHeight: true Layout.fillHeight: true
HShortcut {
sequences: window.settings.keys.inviteToRoom
onActivated: inviteButton.clicked()
}
} }
} }
} }