parent
a8c114b7f5
commit
037955d936
|
@ -389,7 +389,7 @@ Window {
|
||||||
}
|
}
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
demoText.text = qsTr("DemoText")
|
demoText.text = qsTr("DemoText")
|
||||||
// 加载完成后 demoText 默认获得焦点.
|
// 加载完成后 demoText 默认获得焦点.
|
||||||
demoText.forceActiveFocus()
|
demoText.forceActiveFocus()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue