Stopped edge stripping when using Find in Files

(cherry picked from commit 0179791e85944cabd64534abaaf89cc067618f0f)
This commit is contained in:
VolTer 2022-09-06 23:28:16 +02:00 committed by Relintai
parent 840c537d89
commit cbfa40ae94

View File

@ -448,8 +448,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 {