blob: 684b6240e3c8d732f77136ea0af6c2bc05d668e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import QtQuick 2.0
TextEdit {
wrapMode: Text.Wrap
readOnly: true
selectByMouse: true
// Workaround for https://bugreports.qt.io/browse/QTBUG-50587
onFocusChanged: {
if(focus === false)
deselect()
}
}
|