Explorar el Código

Merge pull request #32468 from YeldhamDev/code_replace_hide_fix

Fix text search bar not correctly switching from replacing to just searching
Rémi Verschelde hace 6 años
padre
commit
969e5ee612
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      editor/code_editor.cpp

+ 2 - 2
editor/code_editor.cpp

@@ -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);
 }