Remove indirection, assume defaults set correctly from provider

This commit is contained in:
John Lewin 2018-05-21 13:28:39 -07:00
parent f1614ba82d
commit 86abcaaf3a

View file

@ -118,11 +118,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
libraryItem,
thumbWidth,
thumbHeight,
(image) =>
{
// Use the content providers default image if an image failed to load
thumbnailSetter(image ?? contentProvider.DefaultImage, true);
});
thumbnailSetter);
}
});
}