Skip to content

Commit

Permalink
resolve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
LeafShi1 committed Feb 12, 2025
2 parents 84f1c7a + d787bc9 commit 75d4c18
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -590,11 +590,12 @@ private void OnNewItemTypes_SelectionChangeCommitted(object sender, EventArgs e)
{
if (ex.IsCriticalException())
{
throw;
}
throw;
}
}

PropertyDescriptor imageProperty = TypeDescriptor.GetProperties(newItem)[nameof(Image)];

if (imageProperty is not null && image is not null)
{
imageProperty.SetValue(newItem, image);
Expand Down

0 comments on commit 75d4c18

Please sign in to comment.