1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 23:36:00 +02:00

Improved platform/config rename and delete

This commit is contained in:
Brian Fiete 2022-03-03 09:53:19 -08:00
parent 20a932f5a7
commit c3f7a996e0
3 changed files with 85 additions and 7 deletions

View file

@ -168,9 +168,12 @@ namespace Beefy.widgets
{
if ((!skipClosed) || (mParentItem == null) || (IsOpen))
{
for (ListViewItem child in mChildItems)
for (int i < mChildItems.Count)
{
child.WithSelectedItems(func, skipSelectedChildrenOnSelectedItems, skipClosed);
var child = mChildItems[i];
child.WithSelectedItems(func, skipSelectedChildrenOnSelectedItems, skipClosed);
if ((i < mChildItems.Count) && (mChildItems[i] != child))
i--;
}
}
}