TextBlock: Fix multi select bug

This commit is contained in:
Tim L
2017-12-08 16:28:12 -05:00
parent d9d2050f29
commit 4d2f5864c1
2 changed files with 11 additions and 14 deletions

View File

@@ -4,4 +4,9 @@ TextEdit {
wrapMode: Text.Wrap
readOnly: true
selectByMouse: true
// Workaround for https://bugreports.qt.io/browse/QTBUG-50587
onFocusChanged: {
if(focus === false)
deselect()
}
}