diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-11-06 11:11:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-06 11:11:59 +0100 |
commit | 9580769e9a8e9542e651859d61452a13cf1eb398 (patch) | |
tree | 249c87bf6acf850ed06a8f837bd6fadbedce7ec8 /editor | |
parent | 701019bbfdf354d5888c33b5379a68eec8df253f (diff) | |
parent | 0179791e85944cabd64534abaaf89cc067618f0f (diff) |
Merge pull request #65441 from MewPurPur/annoying-whitespaces-trimming-fix
Prevent stripping the edges of strings when using Find in Files
Diffstat (limited to 'editor')
-rw-r--r-- | editor/find_in_files.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/find_in_files.cpp b/editor/find_in_files.cpp index a2bd1223a9..b7605d8e2b 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 { |