Clear selection if event list loses focus
This commit is contained in:
parent
522d078d7b
commit
b610a404af
1
TODO.md
1
TODO.md
|
@ -3,7 +3,6 @@
|
||||||
- Copy text with triple click, copy text + name + date with quadruple click
|
- Copy text with triple click, copy text + name + date with quadruple click
|
||||||
- Copy to X11 selection
|
- Copy to X11 selection
|
||||||
- Make scroll wheel usable
|
- Make scroll wheel usable
|
||||||
- Clear selection when focusing composer
|
|
||||||
|
|
||||||
- Refactoring
|
- Refactoring
|
||||||
- Banners
|
- Banners
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
import QtQuick 2.12
|
import QtQuick 2.12
|
||||||
import "../utils.js" as Utils
|
import "../utils.js" as Utils
|
||||||
|
|
||||||
Item {
|
FocusScope {
|
||||||
|
onFocusChanged: if (! focus) clearSelection()
|
||||||
|
|
||||||
|
|
||||||
signal deselectAll()
|
signal deselectAll()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user