Save/load compact collapse mode.
[VesselSimulator.git] / KerbalEngineer / Editor / BuildAdvanced.cs
blob:a/KerbalEngineer/Editor/BuildAdvanced.cs -> blob:b/KerbalEngineer/Editor/BuildAdvanced.cs
--- a/KerbalEngineer/Editor/BuildAdvanced.cs
+++ b/KerbalEngineer/Editor/BuildAdvanced.cs
@@ -752,6 +752,7 @@
                 handler.Set("windowPositionX", this.windowPosition.x);

                 handler.Set("windowPositionY", this.windowPosition.y);

                 handler.Set("compactMode", this.compactMode);

+                handler.Set("compactCollapseRight", this.compactCollapseRight);

                 handler.Set("showAllStages", this.showAllStages);

                 handler.Set("showAtmosphericDetails", this.showAtmosphericDetails);

                 handler.Set("showReferenceBodies", this.showReferenceBodies);

@@ -777,6 +778,7 @@
                 this.windowPosition.x = handler.Get("windowPositionX", this.windowPosition.x);

                 this.windowPosition.y = handler.Get("windowPositionY", this.windowPosition.y);

                 handler.Get("compactMode", ref this.compactMode);

+                handler.Get("compactCollapseRight", ref this.compactCollapseRight);

                 handler.Get("showAllStages", ref this.showAllStages);

                 handler.Get("showAtmosphericDetails", ref this.showAtmosphericDetails);

                 handler.Get("showSettings", ref this.showSettings);