Skip to content

Commit

Permalink
Remove unnecessary begin/end update on listview #44
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsPepperpot committed Sep 8, 2024
1 parent b6cacff commit 548c052
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions IndustrialPark/ArchiveEditor/ArchiveEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -567,9 +567,7 @@ private void PopulateAssetList(AssetType type = AssetType.Null, List<uint> asset
items.Add(ListViewItemFromAsset(asset, (select == true) && selectionAssetIDs.Contains(asset.assetID)));
}
var itemsArray = items.ToArray();
listViewAssets.BeginUpdate();
listViewAssets.Items.AddRange(itemsArray);
listViewAssets.EndUpdate();
}

listViewAssets.EndUpdate();
Expand Down

0 comments on commit 548c052

Please sign in to comment.