Merge pull request #34940 from volzhs/update-main-scene-file
Update file list in split view when setting main scene
This commit is contained in:
commit
1d304d87eb
1 changed files with 1 additions and 0 deletions
|
@ -1589,6 +1589,7 @@ void FileSystemDock::_file_option(int p_option, const Vector<String> &p_selected
|
||||||
ProjectSettings::get_singleton()->set("application/run/main_scene", p_selected[0]);
|
ProjectSettings::get_singleton()->set("application/run/main_scene", p_selected[0]);
|
||||||
ProjectSettings::get_singleton()->save();
|
ProjectSettings::get_singleton()->save();
|
||||||
_update_tree(_compute_uncollapsed_paths());
|
_update_tree(_compute_uncollapsed_paths());
|
||||||
|
_update_file_list(true);
|
||||||
}
|
}
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue