From a0fb4f2b5d26d06d07ec10b3cb5d38928f346ad4 Mon Sep 17 00:00:00 2001 From: qarmin Date: Fri, 8 Feb 2019 23:59:51 +0100 Subject: [PATCH] Clearch SearchBox when unclick SearchButton --- editor/project_settings_editor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/project_settings_editor.cpp b/editor/project_settings_editor.cpp index cc33550ac9c..d9e094ba7a9 100644 --- a/editor/project_settings_editor.cpp +++ b/editor/project_settings_editor.cpp @@ -1590,6 +1590,7 @@ void ProjectSettingsEditor::_toggle_search_bar(bool p_pressed) { search_box->select_all(); } else { + search_box->clear(); search_bar->hide(); add_prop_bar->show(); }