mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-10 17:35:12 +00:00
Fixed endianness checkbox not being set on open
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user