Unselect before unfocusing messages with keybind
This commit is contained in:
		
							
								
								
									
										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
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user