You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Hide Control focus when given via mouse input
This commit is contained in:
@@ -482,9 +482,9 @@ void EditorFileDialog::_post_popup() {
|
||||
set_current_dir(current);
|
||||
|
||||
if (mode == FILE_MODE_SAVE_FILE) {
|
||||
file->grab_focus();
|
||||
file->grab_focus(true);
|
||||
} else {
|
||||
item_list->grab_focus();
|
||||
item_list->grab_focus(true);
|
||||
}
|
||||
|
||||
bool is_open_directory_mode = mode == FILE_MODE_OPEN_DIR;
|
||||
|
||||
Reference in New Issue
Block a user