mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Fix ClearMarked
This commit is contained in:
@@ -658,7 +658,8 @@ namespace SabreTools.Library.DatFiles
|
||||
/// </summary>
|
||||
public void ClearMarked()
|
||||
{
|
||||
foreach (string key in items.Keys)
|
||||
var keys = items.Keys.ToList();
|
||||
foreach (string key in keys)
|
||||
{
|
||||
List<DatItem> oldItemList = items[key];
|
||||
List<DatItem> newItemList = oldItemList.Where(i => !i.Remove).ToList();
|
||||
|
||||
Reference in New Issue
Block a user