diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-10-01 19:57:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-01 19:57:51 +0200 |
commit | 969e5ee612a898fa3f813764c40ebcd18e2caebd (patch) | |
tree | 46994e13d055dc1191fa5b83c84701e71e0c14bc | |
parent | 871a9d5d56ead0b640618762cd945be0fb2cff97 (diff) | |
parent | be865871f4dcf785e0008300e57b5d4434970746 (diff) |
Merge pull request #32468 from YeldhamDev/code_replace_hide_fix
Fix text search bar not correctly switching from replacing to just searching
-rw-r--r-- | editor/code_editor.cpp | 4 |
1 files 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); } |