Make the choosable default editor layout the same as the actual default one.

Fixes #6266

(cherry picked from commit a2bff72eee)
This commit is contained in:
Andreas Haas 2016-09-19 18:52:08 +02:00 committed by Rémi Verschelde
parent d3b549f2a3
commit 4084ec4869

View file

@ -6178,9 +6178,9 @@ EditorNode::EditorNode() {
overridden_default_layout=-1;
default_layout.instance();
default_layout->set_value(docks_section, "dock_3", TTR("Scene"));
default_layout->set_value(docks_section, "dock_4", TTR("FileSystem"));
default_layout->set_value(docks_section, "dock_5", TTR("Inspector"));
default_layout->set_value(docks_section, "dock_3", TTR("FileSystem"));
default_layout->set_value(docks_section, "dock_5", TTR("Scene"));
default_layout->set_value(docks_section, "dock_6", TTR("Inspector")+","+TTR("Node"));
for(int i=0;i<DOCK_SLOT_MAX/2;i++)
default_layout->set_value(docks_section, "dock_hsplit_"+itos(i+1), 0);