From 9ab0d34ca9b6383772b5f43535aae279237fda48 Mon Sep 17 00:00:00 2001 From: MayNL Date: Mon, 11 May 2026 19:09:46 -0400 Subject: [PATCH] Fixed endianness checkbox not being set on open --- PCK-Studio/Controls/Editor/PckEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PCK-Studio/Controls/Editor/PckEditor.cs b/PCK-Studio/Controls/Editor/PckEditor.cs index 936f5782..d12b0994 100644 --- a/PCK-Studio/Controls/Editor/PckEditor.cs +++ b/PCK-Studio/Controls/Editor/PckEditor.cs @@ -44,7 +44,6 @@ using System.Drawing.Drawing2D; using System.IO; using System.Linq; using System.Windows.Forms; -using static System.Windows.Forms.VisualStyles.VisualStyleElement; namespace PckStudio.Controls { @@ -82,6 +81,7 @@ namespace PckStudio.Controls _currentEndianness = packInfo.Endianness; LittleEndianCheckBox.Visible = packInfo.AllowEndianSwap; + LittleEndianCheckBox.Checked = packInfo.Endianness == OMI.ByteOrder.LittleEndian; treeViewMain.TreeViewNodeSorter = new PckNodeSorter(); treeViewMain.DrawMode = TreeViewDrawMode.OwnerDrawText;