Skip to content

Commit ab71ba1

Browse files
committed
fix commandline start
1 parent c568cc4 commit ab71ba1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: UnityLauncherPro/MainWindow.xaml.cs

+3
Original file line numberDiff line numberDiff line change
@@ -3021,6 +3021,9 @@ private void gridRecent_Sorting(object sender, DataGridSortingEventArgs e)
30213021
// https://stackoverflow.com/a/2130557/5452781
30223022
void SortHandlerRecentProjects(object sender, DataGridSortingEventArgs e)
30233023
{
3024+
// TESTing fix for null ref in commandline start
3025+
if (gridRecent.ItemsSource == null) return;
3026+
30243027
DataGridColumn column = e.Column;
30253028

30263029
// save current sort to prefs

0 commit comments

Comments
 (0)