diff --git a/src/cascadia/TerminalApp/TerminalPage.cpp b/src/cascadia/TerminalApp/TerminalPage.cpp index d4b8f8a068..9b50df4702 100644 --- a/src/cascadia/TerminalApp/TerminalPage.cpp +++ b/src/cascadia/TerminalApp/TerminalPage.cpp @@ -1764,10 +1764,12 @@ namespace winrt::TerminalApp::implementation } // Method Description: - // - Responds to changes in the TabView's item list by changing the tabview's - // visibility. This method is also invoked when tabs are dragged / dropped as part of tab reordering - // and this method hands that case as well in concert with TabDragStarting and TabDragCompleted handlers - // that are set up in TerminalPage::Create() + // - Responds to changes in the TabView's item list by changing the + // tabview's visibility. + // - This method is also invoked when tabs are dragged / dropped as part of + // tab reordering and this method hands that case as well in concert with + // TabDragStarting and TabDragCompleted handlers that are set up in + // TerminalPage::Create() // Arguments: // - sender: the control that originated this event // - eventArgs: the event's constituent arguments @@ -1785,6 +1787,10 @@ namespace winrt::TerminalApp::implementation _rearrangeTo = eventArgs.Index(); } } + else + { + _UpdateCommandsForPalette(); + } _UpdateTabView(); }