diff options
Diffstat (limited to 'editor/gui/editor_file_dialog.cpp')
| -rw-r--r-- | editor/gui/editor_file_dialog.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/editor/gui/editor_file_dialog.cpp b/editor/gui/editor_file_dialog.cpp index 62e0520799..a7ddb984e0 100644 --- a/editor/gui/editor_file_dialog.cpp +++ b/editor/gui/editor_file_dialog.cpp @@ -713,11 +713,8 @@ void EditorFileDialog::_item_menu_id_pressed(int p_option) { // Specific item was clicked. Open folders directly, or the folder containing a selected file. Dictionary item_meta = item_list->get_item_metadata(idx); path = ProjectSettings::get_singleton()->globalize_path(item_meta["path"]); - if (!item_meta["dir"]) { - path = path.get_base_dir(); - } } - OS::get_singleton()->shell_open(String("file://") + path); + OS::get_singleton()->shell_show_in_file_manager(path, true); } break; } } |
