Unselect before unfocusing messages with keybind
This commit is contained in:
parent
b48e663007
commit
1e049a0159
3
TODO.md
3
TODO.md
|
@ -1,8 +1,5 @@
|
|||
# TODO
|
||||
|
||||
- being able to redact local echos
|
||||
- unselect before unfocusing
|
||||
|
||||
## Refactoring
|
||||
|
||||
- Rewrite account settings using `HTabbedContainer`
|
||||
|
|
|
@ -18,9 +18,9 @@ Rectangle {
|
|||
HShortcut {
|
||||
sequences: window.settings.keys.unfocusOrDeselectAllMessages
|
||||
onActivated: {
|
||||
eventList.currentIndex !== -1 ?
|
||||
eventList.currentIndex = -1 :
|
||||
eventList.checked = {}
|
||||
eventList.selectedCount ?
|
||||
eventList.checked = {} :
|
||||
eventList.currentIndex = -1
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user