From 3b35454ac3a7d05e22c1da59961ac738f6fccd38 Mon Sep 17 00:00:00 2001 From: VolTer Date: Tue, 6 Sep 2022 23:28:16 +0200 Subject: [PATCH] Stopped edge stripping when using Find in Files (cherry picked from commit 0179791e85944cabd64534abaaf89cc067618f0f) --- editor/find_in_files.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/editor/find_in_files.cpp b/editor/find_in_files.cpp index 16870dd6756..aeb3b600bfc 100644 --- a/editor/find_in_files.cpp +++ b/editor/find_in_files.cpp @@ -431,8 +431,7 @@ void FindInFilesDialog::set_find_in_files_mode(FindInFilesMode p_mode) { } String FindInFilesDialog::get_search_text() const { - String text = _search_text_line_edit->get_text(); - return text.strip_edges(); + return _search_text_line_edit->get_text(); } String FindInFilesDialog::get_replace_text() const {