Merge pull request #50680 from Calinou/project-default-single-window-mode

This commit is contained in:
Rémi Verschelde 2021-10-20 19:09:13 +02:00 committed by GitHub
commit af976e4834
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2140,7 +2140,7 @@ bool Main::start() {
}
#endif
bool embed_subwindows = GLOBAL_DEF("display/window/subwindows/embed_subwindows", false);
bool embed_subwindows = GLOBAL_DEF("display/window/subwindows/embed_subwindows", true);
if (OS::get_singleton()->is_single_window() || (!project_manager && !editor && embed_subwindows)) {
sml->get_root()->set_embed_subwindows_hint(true);