summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-03-13 16:18:44 +0100
committerkobewi <kobewi4e@gmail.com>2022-03-13 18:20:53 +0100
commit3c53752b4a13a8f81b57bb6efb69dd4c08b55ed3 (patch)
tree36ba248c2a4e95fd26e39991082d90ea26a060fc /main
parent47c35f5b9665a04bdddccb0d34fc7983dd78be3d (diff)
Cleanup embed subwindows getters
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/main.cpp b/main/main.cpp
index ccd48a9343..4ed55cabf0 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -2247,7 +2247,7 @@ bool Main::start() {
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);
+ sml->get_root()->set_embedding_subwindows(true);
}
ResourceLoader::add_custom_loaders();
ResourceSaver::add_custom_savers();
@@ -2429,7 +2429,7 @@ bool Main::start() {
"interface/editor/single_window_mode");
if (editor_embed_subwindows) {
- sml->get_root()->set_embed_subwindows_hint(true);
+ sml->get_root()->set_embedding_subwindows(true);
}
}
#endif