2019-04-11 03:17:29 +02:00
|
|
|
import QtQuick 2.9
|
2017-08-24 11:27:00 +02:00
|
|
|
|
2018-03-31 03:25:20 +02:00
|
|
|
import "../components" as MoneroComponents
|
2017-12-07 17:33:46 +01:00
|
|
|
|
2017-08-24 11:27:00 +02:00
|
|
|
TextEdit {
|
2018-03-31 03:25:20 +02:00
|
|
|
color: MoneroComponents.Style.defaultFontColor
|
|
|
|
font.family: MoneroComponents.Style.fontRegular.name
|
2019-04-11 03:17:29 +02:00
|
|
|
selectionColor: MoneroComponents.Style.textSelectionColor
|
2017-08-24 11:27:00 +02:00
|
|
|
wrapMode: Text.Wrap
|
|
|
|
readOnly: true
|
|
|
|
selectByMouse: true
|
2017-12-08 22:28:12 +01:00
|
|
|
// Workaround for https://bugreports.qt.io/browse/QTBUG-50587
|
|
|
|
onFocusChanged: {
|
|
|
|
if(focus === false)
|
|
|
|
deselect()
|
|
|
|
}
|
2017-08-24 11:27:00 +02:00
|
|
|
}
|