Skip to content

Commit 3bd1960

Browse files
committed
well... call the right thing
1 parent 5f3a857 commit 3bd1960

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/cascadia/TerminalApp/TabManagement.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,10 @@ namespace winrt::TerminalApp::implementation
881881
}
882882
}
883883

884-
CommandPalette().Visibility(Visibility::Collapsed);
884+
if (const auto p = CommandPaletteElement())
885+
{
886+
p.Visibility(Visibility::Collapsed);
887+
}
885888
_UpdateTabView();
886889
}
887890

0 commit comments

Comments
 (0)