Fix text search bar not correctly switching from replacing to just searching

This commit is contained in:
Michael Alexsander 2019-10-01 09:57:11 -03:00
parent 5fa6f9d7ff
commit be865871f4
1 changed files with 2 additions and 2 deletions

View File

@ -456,10 +456,10 @@ void FindReplaceBar::_show_search(bool p_focus_replace, bool p_show_only) {
void FindReplaceBar::popup_search(bool p_show_only) {
if (!is_visible())
replace_text->hide();
replace_text->hide();
hbc_button_replace->hide();
hbc_option_replace->hide();
_show_search(false, p_show_only);
}