Fix old reference to TermApp::Command (#7863)
#7796 and #7667 were being implemented concurrently. As a part of #7667, Command was moved from TermApp to TSM. This just applies that change to a line we missed in #7796 and fixes the build break.
This commit is contained in:
parent
22887d721f
commit
ba79d53887
|
@ -132,7 +132,7 @@ namespace winrt::TerminalApp::implementation
|
|||
if (_currentMode == CommandPaletteMode::TabSwitchMode)
|
||||
{
|
||||
const auto& selectedCommand = _filteredActionsView().SelectedItem();
|
||||
if (const auto& command = selectedCommand.try_as<TerminalApp::Command>())
|
||||
if (const auto& command = selectedCommand.try_as<Command>())
|
||||
{
|
||||
const auto& actionAndArgs = command.Action();
|
||||
_dispatch.DoAction(actionAndArgs);
|
||||
|
|
Loading…
Reference in a new issue