summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolTer <mew.pur.pur@abv.bg>2022-09-06 23:28:16 +0200
committerVolTer <mew.pur.pur@abv.bg>2022-09-07 00:45:37 +0200
commit0179791e85944cabd64534abaaf89cc067618f0f (patch)
tree383ee2e937ac13ed4f9346f81b92ea4739bad71a
parent8c7be63588bf3e4ef4b780ff57936c68db5939c7 (diff)
Stopped edge stripping when using Find in Files
-rw-r--r--editor/find_in_files.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/find_in_files.cpp b/editor/find_in_files.cpp
index 16c5003fdc..3ee47cab7c 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 {