diff options
| author | Tim L <timo614@gmail.com> | 2017-12-08 16:28:12 -0500 |
|---|---|---|
| committer | Tim L <timo614@gmail.com> | 2017-12-08 16:28:12 -0500 |
| commit | 4d2f5864c1d2174fd8aef9abea8c1337b2e0f005 (patch) | |
| tree | 736e3bcf7d5e9f856056c953dcf7c5dc5467ec4d /components/TextBlock.qml | |
| parent | d9d2050f2924322ff6f2895addcb6961a49132f9 (diff) | |
| download | monzero-gui-4d2f5864c1d2174fd8aef9abea8c1337b2e0f005.tar.gz monzero-gui-4d2f5864c1d2174fd8aef9abea8c1337b2e0f005.tar.xz monzero-gui-4d2f5864c1d2174fd8aef9abea8c1337b2e0f005.zip | |
TextBlock: Fix multi select bug
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() + } } |
