Skip to content

Commit

Permalink
fix nullref if selected unity version is not available and tried to s…
Browse files Browse the repository at this point in the history
…earch updates
  • Loading branch information
unitycoder committed Dec 6, 2024
1 parent 104fd99 commit f6095c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UnityLauncherPro/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ async void GoLookForUpdatesForThisUnity()
await CallGetUnityUpdates();

var unity = GetSelectedUnity();
if (unity == null) return;
if (unity == null || string.IsNullOrEmpty(unity.Version) == true) return;

if (dataGridUpdates.ItemsSource != null)
{
Expand Down

0 comments on commit f6095c4

Please sign in to comment.