Fix ScriptEditor don't saving the layout when opening a help page

- Use ScriptEditor::_update_script_names just once when re-creating the layout
This commit is contained in:
Franklin Sobrinho 2016-07-18 12:30:43 -03:00
parent c328693e83
commit 3ca6e584e5
2 changed files with 19 additions and 9 deletions

View file

@ -268,6 +268,7 @@ class ScriptEditor : public VBoxContainer {
void _update_window_menu();
void _script_created(Ref<Script> p_script);
void _save_layout();
void _editor_settings_changed();
void _autosave_scripts();