mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Null handling for update callback
This commit is contained in:
parent
1b428cd03b
commit
9d0c5ef529
@ -138,7 +138,7 @@ namespace Wabbajack
|
||||
// Latch onto update events and update GUI
|
||||
AutoUpdater.CheckForUpdateEvent += (args) =>
|
||||
{
|
||||
UpdateAvailable = args.IsUpdateAvailable;
|
||||
UpdateAvailable = args?.IsUpdateAvailable ?? false;
|
||||
};
|
||||
|
||||
// Trigger a query for updates soon after starting
|
||||
|
Loading…
Reference in New Issue
Block a user