You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Do not grab focus on filename LineEdit in EditorFileDialog when outside the tree
This commit is contained in:
@@ -1419,9 +1419,9 @@ void EditorFileDialog::set_current_file(const String &p_file) {
|
||||
file->set_text(p_file);
|
||||
update_dir();
|
||||
invalidate();
|
||||
_focus_file_text();
|
||||
|
||||
if (is_visible()) {
|
||||
_focus_file_text();
|
||||
_request_single_thumbnail(get_current_dir().path_join(get_current_file()));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user