Implement and expose OS::shell_show_in_file_manager()
This commit is contained in:
parent
6f1a52b017
commit
b12ced0a26
12 changed files with 87 additions and 15 deletions
|
|
@ -1827,7 +1827,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