mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Do not grab focus on filename LineEdit in EditorFileDialog when outside the tree
This commit is contained in:
parent
34f005d810
commit
8bd1b5fce9
1 changed files with 1 additions and 1 deletions
|
|
@ -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()));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue