mirror of
https://github.com/JulianGro/overte.git
synced 2025-05-09 10:19:36 +02:00
Merge pull request #10969 from druiz17/bug/addmodel-textbox
allow user move the cursor with the mouse for the add model URL textbox
This commit is contained in:
commit
a7e328285e
1 changed files with 2 additions and 1 deletions
|
@ -65,7 +65,8 @@ Rectangle {
|
||||||
onClicked: {
|
onClicked: {
|
||||||
newModelDialog.keyboardEnabled = HMD.active
|
newModelDialog.keyboardEnabled = HMD.active
|
||||||
parent.focus = true;
|
parent.focus = true;
|
||||||
parent.forceActiveFocus()
|
parent.forceActiveFocus();
|
||||||
|
modelURL.cursorPosition = modelURL.positionAt(mouseX, mouseY, TextInput.CursorBetweenCharaters);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue