Browse Source

unordered context menu items default to end of menu

pull/724/head
Ed Harvey 9 years ago
parent
commit
6696490ce3
  1. 2
      ILSpy/ContextMenuEntry.cs

2
ILSpy/ContextMenuEntry.cs

@ -110,6 +110,8 @@ namespace ICSharpCode.ILSpy @@ -110,6 +110,8 @@ namespace ICSharpCode.ILSpy
public ExportContextMenuEntryAttribute()
: base(typeof(IContextMenuEntry))
{
// entries default to end of menu unless given specific order position
Order = double.MaxValue;
}
public string Icon { get; set; }

Loading…
Cancel
Save