Fix some input field issue.

This commit is contained in:
Black Hat
2018-10-17 10:52:00 +08:00
parent b30d92a516
commit 4cc2d443c7
5 changed files with 15 additions and 4 deletions

View File

@@ -189,4 +189,12 @@ Rectangle {
}
}
}
function insert(str) {
inputField.insert(inputField.cursorPosition, str)
}
function clear() {
inputField.clear()
}
}