Merge pull request #69698 from Daylily-Zeleen/daylily-zeleen/show_in_explorer
Implement and expose OS::shell_show_in_file_manager()
This commit is contained in:
commit
76d33d187f
12 changed files with 87 additions and 15 deletions
|
|
@ -1829,7 +1829,7 @@ void ProjectList::_favorite_pressed(Node *p_hb) {
|
|||
}
|
||||
|
||||
void ProjectList::_show_project(const String &p_path) {
|
||||
OS::get_singleton()->shell_open(String("file://") + p_path);
|
||||
OS::get_singleton()->shell_show_in_file_manager(p_path, true);
|
||||
}
|
||||
|
||||
void ProjectList::_bind_methods() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue