summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-01-09 08:21:26 +0100
committerGitHub <noreply@github.com>2020-01-09 08:21:26 +0100
commit1d304d87ebe2d5c578086a16498a253e054022dc (patch)
treeb9795337f9409fdc8cab7e670146669adbcb6e9e /editor
parent8ece49bf04c8d12683db717c3419d90ff88c0b57 (diff)
parent94952293151469a15d02d9de1492d17db800e2e3 (diff)
Merge pull request #34940 from volzhs/update-main-scene-file
Update file list in split view when setting main scene
Diffstat (limited to 'editor')
-rw-r--r--editor/filesystem_dock.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp
index fb5c2b25c9..f74cadf67e 100644
--- a/editor/filesystem_dock.cpp
+++ b/editor/filesystem_dock.cpp
@@ -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()->save();
_update_tree(_compute_uncollapsed_paths());
+ _update_file_list(true);
}
} break;