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
|
# TODO
|
||||||
|
|
||||||
- being able to redact local echos
|
|
||||||
- unselect before unfocusing
|
|
||||||
|
|
||||||
## Refactoring
|
## Refactoring
|
||||||
|
|
||||||
- Rewrite account settings using `HTabbedContainer`
|
- Rewrite account settings using `HTabbedContainer`
|
||||||
|
|
|
@ -18,9 +18,9 @@ Rectangle {
|
||||||
HShortcut {
|
HShortcut {
|
||||||
sequences: window.settings.keys.unfocusOrDeselectAllMessages
|
sequences: window.settings.keys.unfocusOrDeselectAllMessages
|
||||||
onActivated: {
|
onActivated: {
|
||||||
eventList.currentIndex !== -1 ?
|
eventList.selectedCount ?
|
||||||
eventList.currentIndex = -1 :
|
eventList.checked = {} :
|
||||||
eventList.checked = {}
|
eventList.currentIndex = -1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user