mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-07-12 06:30:39 +00:00
Audio file no longer added if closed without saving
This commit is contained in:
@@ -861,6 +861,10 @@ namespace PckStudio
|
||||
AudioEditor diag = new AudioEditor(file, locFile, LittleEndianCheckBox.Checked);
|
||||
if (diag.ShowDialog(this) == DialogResult.OK)
|
||||
TrySetLocFile(locFile);
|
||||
else
|
||||
{
|
||||
currentPCK.Files.Remove(file); //delete file if not saved
|
||||
}
|
||||
diag.Dispose();
|
||||
BuildMainTreeView();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user