summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Felipe <guilhermefelipecgs@gmail.com>2018-06-05 14:12:01 -0300
committerGuilherme Felipe <guilhermefelipecgs@gmail.com>2018-06-05 14:12:01 -0300
commit6676060805579ed228e1a1ef6f38742ad3b4fe36 (patch)
tree7a410ce54ffb7233f61283b9f82ca4b36e8c1e33
parent6a69f92370ba82befdfdf3c2f798b6b2fd6df1fb (diff)
[Inspector] Fix search field losing focus when typing
Fix #19382
-rw-r--r--editor/editor_inspector.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp
index 531aa2f9dc..a6f159ce34 100644
--- a/editor/editor_inspector.cpp
+++ b/editor/editor_inspector.cpp
@@ -1638,6 +1638,7 @@ void EditorInspector::register_text_enter(Node *p_line_edit) {
void EditorInspector::_filter_changed(const String &p_text) {
+ _clear();
update_tree();
}