RibbonText: Fix the text can't be selected by Select All menu.
This commit is contained in:
parent
0ca8563ea7
commit
db6de202b4
|
@ -17,9 +17,6 @@ TextEdit {
|
||||||
selectionColor: dark_mode ? "#4F5E7F" : "#BECDE8"
|
selectionColor: dark_mode ? "#4F5E7F" : "#BECDE8"
|
||||||
selectedTextColor: dark_mode ? "white" : "black"
|
selectedTextColor: dark_mode ? "white" : "black"
|
||||||
wrapMode: TextEdit.WrapAnywhere
|
wrapMode: TextEdit.WrapAnywhere
|
||||||
onSelectedTextChanged: {
|
|
||||||
control.forceActiveFocus()
|
|
||||||
}
|
|
||||||
enabled: !view_only
|
enabled: !view_only
|
||||||
font.family: Qt.platform.os === "osx" ? "PingFang SC" : "Microsoft YaHei UI"
|
font.family: Qt.platform.os === "osx" ? "PingFang SC" : "Microsoft YaHei UI"
|
||||||
MouseArea{
|
MouseArea{
|
||||||
|
|
Loading…
Reference in New Issue