You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Add file search QoL when focused on folder text box
This commit is contained in:
@@ -395,6 +395,7 @@ FindInFilesDialog::FindInFilesDialog() {
|
|||||||
|
|
||||||
_folder_line_edit = memnew(LineEdit);
|
_folder_line_edit = memnew(LineEdit);
|
||||||
_folder_line_edit->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
_folder_line_edit->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||||
|
_folder_line_edit->connect(SceneStringName(text_submitted), callable_mp(this, &FindInFilesDialog::_on_search_text_submitted));
|
||||||
hbc->add_child(_folder_line_edit);
|
hbc->add_child(_folder_line_edit);
|
||||||
|
|
||||||
Button *folder_button = memnew(Button);
|
Button *folder_button = memnew(Button);
|
||||||
|
|||||||
Reference in New Issue
Block a user