Skip to content

Commit

Permalink
[RELEASE ONLY] Remove the close submenu (#9102)
Browse files Browse the repository at this point in the history
There's a platform issue that causes it to crash.
Fixes #8944.

(cherry picked from commit 5fdd156)
  • Loading branch information
DHowett committed Feb 24, 2021
1 parent 35e1168 commit c951a70
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/cascadia/TerminalApp/TabBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ namespace winrt::TerminalApp::implementation

// Build the menu
Controls::MenuFlyout newTabFlyout;
newTabFlyout.Items().Append(_CreateCloseSubMenu());
newTabFlyout.Items().Append(closeTabMenuItem);
TabViewItem().ContextFlyout(newTabFlyout);
}
Expand Down
1 change: 0 additions & 1 deletion src/cascadia/TerminalApp/TerminalTab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,6 @@ namespace winrt::TerminalApp::implementation
newTabFlyout.Items().Append(chooseColorMenuItem);
newTabFlyout.Items().Append(renameTabMenuItem);
newTabFlyout.Items().Append(menuSeparator);
newTabFlyout.Items().Append(_CreateCloseSubMenu());
newTabFlyout.Items().Append(closeTabMenuItem);
TabViewItem().ContextFlyout(newTabFlyout);
}
Expand Down

0 comments on commit c951a70

Please sign in to comment.