MainForm - Fix deleting folder being flaged as having compass or clock textures inside

This commit is contained in:
miku-666
2024-03-23 16:17:07 +01:00
parent 4ce56fe682
commit 123d529270

View File

@@ -837,7 +837,7 @@ namespace PckStudio
MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
{
string pckFolderDir = node.FullPath;
currentPCK.RemoveAll(file => !BeforeFileRemove(file) && file.Filename.StartsWith(pckFolderDir));
currentPCK.RemoveAll(file => file.Filename.StartsWith(pckFolderDir) && !BeforeFileRemove(file));
node.Remove();
wasModified = true;
}