From 0179791e85944cabd64534abaaf89cc067618f0f 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 --- 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 16c5003fdc8..3ee47cab7cf 100644 --- a/editor/find_in_files.cpp +++ b/editor/find_in_files.cpp @@ -422,8 +422,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 {