Remove indirection, assume defaults set correctly from provider
This commit is contained in:
parent
f1614ba82d
commit
86abcaaf3a
1 changed files with 1 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue