mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
fix npe
This commit is contained in:
parent
5f9c947f85
commit
fd8bbe69bd
@ -6,6 +6,7 @@
|
||||
* Modlists are now .zip files.
|
||||
* Modlists now end with `.modlist_v1` to enable better version control
|
||||
* If `readme.md` is found in the profile directory, inline it into the install report.
|
||||
* Fix bug with null uri in slideshow images
|
||||
|
||||
#### Version 0.9.3 - 9/30/2019
|
||||
* Add WABBAJACK_NOMATCH_INCLUDE works like WABBAJACK_INCLUDE but only includes files that are found to be missing at the end of compilation
|
||||
|
@ -364,12 +364,15 @@ namespace Wabbajack
|
||||
dispatcher.Invoke(() =>
|
||||
{
|
||||
var element = SlideShowElements[_random.Next(0, SlideShowElements.Count)];
|
||||
SplashScreenImage = new BitmapImage(new Uri(element.ImageURL));
|
||||
SplashScreenModName = element.ModName;
|
||||
SplashScreenAuthorName = element.AuthorName;
|
||||
SplashScreenSummary = element.ModSummary;
|
||||
_nexusSiteURL = element.ModURL;
|
||||
if (element.ImageURL != null)
|
||||
{
|
||||
|
||||
SplashScreenImage = new BitmapImage(new Uri(element.ImageURL));
|
||||
SplashScreenModName = element.ModName;
|
||||
SplashScreenAuthorName = element.AuthorName;
|
||||
SplashScreenSummary = element.ModSummary;
|
||||
_nexusSiteURL = element.ModURL;
|
||||
}
|
||||
_lastSlideShowUpdate = DateTime.Now;
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user