summaryrefslogtreecommitdiff
path: root/editor/filesystem_dock.cpp
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2020-01-09 09:51:31 +0900
committervolzhs <volzhs@gmail.com>2020-01-09 09:51:31 +0900
commit94952293151469a15d02d9de1492d17db800e2e3 (patch)
tree4b4b7a22e995dacbb126b3c5e7397e7334d076c1 /editor/filesystem_dock.cpp
parente7b7dc57fc8ecab198695d9bf6a4d694fb5a72a8 (diff)
Update file list in split view when setting main scene
Diffstat (limited to 'editor/filesystem_dock.cpp')
-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;