mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 20:58:30 +02:00
Don't auto-focus the filter field in running scripts
This commit is contained in:
parent
ce54f1b1d1
commit
167cb72a0e
1 changed files with 0 additions and 6 deletions
|
@ -53,11 +53,6 @@ ScrollingWindow {
|
|||
updateRunningScripts();
|
||||
}
|
||||
|
||||
function setDefaultFocus() {
|
||||
// Work around FocusScope of scrollable window.
|
||||
filterEdit.forceActiveFocus();
|
||||
}
|
||||
|
||||
function updateRunningScripts() {
|
||||
var runningScripts = ScriptDiscoveryService.getRunning();
|
||||
runningScriptsModel.clear()
|
||||
|
@ -276,7 +271,6 @@ ScrollingWindow {
|
|||
isSearchField: true
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
focus: true
|
||||
colorScheme: hifi.colorSchemes.dark
|
||||
placeholderText: "Filter"
|
||||
onTextChanged: scriptsModel.filterRegExp = new RegExp("^.*" + text + ".*$", "i")
|
||||
|
|
Loading…
Reference in a new issue