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:
Brad Hefta-Gaub 2017-07-18 08:41:08 -07:00 committed by GitHub
commit a7e328285e

View file

@ -65,7 +65,8 @@ Rectangle {
onClicked: {
newModelDialog.keyboardEnabled = HMD.active
parent.focus = true;
parent.forceActiveFocus()
parent.forceActiveFocus();
modelURL.cursorPosition = modelURL.positionAt(mouseX, mouseY, TextInput.CursorBetweenCharaters);
}
}
}