Skip to content

Commit

Permalink
fix ordering of tools in launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
tewarid committed May 17, 2020
1 parent a3165a0 commit 234ea39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Launcher/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ where Attribute.IsDefined(type, typeof(MainFormAttribute))
forms.Add(type);
}
}
forms.OrderBy(t => ((MainFormAttribute)t.GetCustomAttributes(typeof(MainFormAttribute), false)[0]).Name);
return forms.ToArray();
var orderedForms = forms.OrderBy(t => ((MainFormAttribute)t.GetCustomAttributes(typeof(MainFormAttribute), false)[0]).Name);
return orderedForms.ToArray();
}

private Assembly[] GetAllAssemblies()
Expand Down

0 comments on commit 234ea39

Please sign in to comment.