Skip to content

Commit a8b847b

Browse files
INOPIAEretailcoder
authored andcommitted
add window menu
1 parent 484a41d commit a8b847b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Rubberduck.Core/UI/Command/MenuItems/ParentMenus/WindowParentMenu.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ public WindowParentMenu(IEnumerable<IMenuItem> items, IUiDispatcher dispatcher)
1010
{
1111
}
1212

13-
public override int DisplayOrder => (int)RubberduckMenuItemDisplayOrder.Windows;
13+
public override int DisplayOrder => (int)RubberduckMenuItemDisplayOrder.Tools;
1414
}
1515

1616
public enum WindowMenuItemDisplayOrder
1717
{
18-
CodeExplorer,
19-
CodeMetrics,
20-
TestExplorer,
21-
ToDoExplorer
18+
TestExplorer,
19+
CodeExplorer,
20+
CodeMetrics,
21+
ToDoExplorer
2222
}
2323
}

Rubberduck.Main/Root/RubberduckIoCInstaller.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,9 +814,9 @@ private Type[] WindowMenuItems()
814814
{
815815
var items = new List<Type>
816816
{
817+
typeof(TestExplorerCommandMenuItem),
817818
typeof(CodeExplorerCommandMenuItem),
818819
typeof(CodeMetricsCommandMenuItem),
819-
typeof(TestExplorerCommandMenuItem),
820820
typeof(ToDoExplorerCommandMenuItem)
821821
};
822822

0 commit comments

Comments
 (0)