diff --git a/PCK-Studio/MainForm.cs b/PCK-Studio/MainForm.cs index 36d10e7c..4d3e0015 100644 --- a/PCK-Studio/MainForm.cs +++ b/PCK-Studio/MainForm.cs @@ -92,6 +92,10 @@ namespace PckStudio public void LoadPck(string filepath) { treeViewMain.Nodes.Clear(); + if (currentPCK is not null && !saved) + { + checkSaveState(); + } currentPCK = openPck(filepath); if (currentPCK == null) {