internal void SaveConfig(IniConfig config) { // panels { for (int i = 0; i < _panels.Count; i++) { EditorPanel panel = _panels[i]; config.Write(EditorConfigSections.PanelsOpen, panel.GetType().Name, (panel != null) ? panel.Open.ToString() : "null"); } } }