monero-gui/components/TextBlock.qml
2017-12-08 16:28:12 -05:00

12 lines
245 B
QML

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