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

Fixes #6266
This commit is contained in:
Andreas Haas 2016-09-19 18:52:08 +02:00
parent 9c71e5a9df
commit a2bff72eee
No known key found for this signature in database
GPG key ID: B5FFAE1B65FBD2E1

View file

@ -6254,9 +6254,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);