Merge pull request #25720 from qarmin/fix_hide_search_project_settings

Clear SearchBox when unclick SearchButton
This commit is contained in:
Rémi Verschelde 2019-04-30 13:49:01 +02:00 committed by GitHub
commit 378ddde5e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1592,6 +1592,7 @@ void ProjectSettingsEditor::_toggle_search_bar(bool p_pressed) {
search_box->select_all(); search_box->select_all();
} else { } else {
search_box->clear();
search_bar->hide(); search_bar->hide();
add_prop_bar->show(); add_prop_bar->show();
} }