diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 6e8546adabf..8b7271784d6 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -7155,7 +7155,7 @@ EditorNode::EditorNode() { dock_select->set_v_size_flags(Control::SIZE_EXPAND_FILL); dock_vb->add_child(dock_select); - if (!SceneTree::get_singleton()->get_root()->is_embedding_subwindows() && EDITOR_GET("interface/multi_window/enable")) { + if (!SceneTree::get_singleton()->get_root()->is_embedding_subwindows() && !EDITOR_GET("interface/editor/single_window_mode") && EDITOR_GET("interface/multi_window/enable")) { dock_float = memnew(Button); dock_float->set_icon(theme->get_icon("MakeFloating", "EditorIcons")); dock_float->set_text(TTR("Make Floating")); diff --git a/editor/window_wrapper.cpp b/editor/window_wrapper.cpp index 3a8dbf017fc..91d5aa8860d 100644 --- a/editor/window_wrapper.cpp +++ b/editor/window_wrapper.cpp @@ -313,7 +313,7 @@ void WindowWrapper::set_margins_enabled(bool p_enabled) { } WindowWrapper::WindowWrapper() { - if (SceneTree::get_singleton()->get_root()->is_embedding_subwindows() || !EDITOR_GET("interface/multi_window/enable")) { + if (SceneTree::get_singleton()->get_root()->is_embedding_subwindows() || EDITOR_GET("interface/editor/single_window_mode") || !EDITOR_GET("interface/multi_window/enable")) { return; }