Clear selection if event list loses focus

This commit is contained in:
miruka 2019-09-01 00:27:42 -04:00
parent 522d078d7b
commit b610a404af
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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()