Skip to content

Commit

Permalink
a comment I missed
Browse files Browse the repository at this point in the history
  • Loading branch information
zadjii-msft committed Apr 29, 2022
1 parent d3b5533 commit 0bda66f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cascadia/TerminalApp/CommandPalette.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0bda66f

Please sign in to comment.