You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-03 16:55:53 +00:00
Make the single window mode check more strict
Check the "interface/editor/single_window_mode" editor settings.
(cherry picked from commit 0f6327b59b)
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user