You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
459 B
18 lines
459 B
import QtQuick 2.9
|
|
|
|
import "../components" as MoneroComponents
|
|
|
|
TextEdit {
|
|
color: MoneroComponents.Style.defaultFontColor
|
|
font.family: MoneroComponents.Style.fontRegular.name
|
|
selectionColor: MoneroComponents.Style.textSelectionColor
|
|
wrapMode: Text.Wrap
|
|
readOnly: true
|
|
selectByMouse: true
|
|
// Workaround for https://bugreports.qt.io/browse/QTBUG-50587
|
|
onFocusChanged: {
|
|
if(focus === false)
|
|
deselect()
|
|
}
|
|
}
|