a comment I missed

This commit is contained in:
Mike Griese
2022-04-29 06:55:15 -05:00
parent d3b5533a1e
commit 0bda66fc2f

View File

@@ -247,6 +247,8 @@ namespace winrt::TerminalApp::implementation
else if (_currentMode == CommandPaletteMode::ActionMode &&
currentlyVisible)
{
// If we don't have a selected command, then end any previews we
// might currently be showing.
if (filteredCommand == nullptr)
{
_PreviewActionHandlers(*this, nullptr);