mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fixed WJ splash image being removed when not selecting a new one
This commit is contained in:
parent
a56c773f59
commit
558c937220
@ -51,18 +51,18 @@ namespace Wabbajack
|
||||
{
|
||||
if (state.UIReady)
|
||||
{
|
||||
BitmapImage splashScreen = null;
|
||||
if (newBannerFile != null)
|
||||
{
|
||||
BitmapImage splashScreen = null;
|
||||
splashScreen = new BitmapImage(new Uri(newBannerFile));
|
||||
state.newImagePath = newBannerFile;
|
||||
state.SplashScreenImage = splashScreen;
|
||||
}
|
||||
string modListName = ModlistNameProperty.Text;
|
||||
string modListAuthor = ModlistAuthorProperty.Text;
|
||||
string modListDescription = ModlistDescriptionProperty.Text;
|
||||
string modListWebsite = ModlistWebsiteProperty.Text;
|
||||
|
||||
state.newImagePath = newBannerFile;
|
||||
state.SplashScreenImage = splashScreen;
|
||||
state.SplashScreenModName = modListName;
|
||||
state.SplashScreenSummary = modListDescription;
|
||||
state.SplashScreenAuthorName = modListAuthor;
|
||||
|
Loading…
Reference in New Issue
Block a user