From be865871f4dcf785e0008300e57b5d4434970746 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Tue, 1 Oct 2019 09:57:11 -0300 Subject: Fix text search bar not correctly switching from replacing to just searching --- editor/code_editor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index b6cd69c3cd..4c31797c50 100644 --- a/editor/code_editor.cpp +++ b/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); } -- cgit v1.2.3