diff options
Diffstat (limited to 'components/TextBlock.qml')
| -rw-r--r-- | components/TextBlock.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/TextBlock.qml b/components/TextBlock.qml index 7c36088a..684b6240 100644 --- a/components/TextBlock.qml +++ b/components/TextBlock.qml @@ -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() + } } |
