From e4596ee71410f9c09c78529370355c52c2e774ec Mon Sep 17 00:00:00 2001 From: Carlos Zamora Date: Thu, 2 Jul 2026 17:47:40 -0700 Subject: [PATCH] Fix action name inconsistently updating in Edit Action page --- src/cascadia/TerminalSettingsEditor/ActionsViewModel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cascadia/TerminalSettingsEditor/ActionsViewModel.cpp b/src/cascadia/TerminalSettingsEditor/ActionsViewModel.cpp index 48f21b543c..f05664b35b 100644 --- a/src/cascadia/TerminalSettingsEditor/ActionsViewModel.cpp +++ b/src/cascadia/TerminalSettingsEditor/ActionsViewModel.cpp @@ -363,6 +363,8 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation ActionArgsVM(*actionArgsVM); if (!_command.HasName()) { + // Invalidate the cache to make the getter recompute the display name for the "action name" field + _cachedDisplayName.clear(); _NotifyChanges(L"DisplayName"); } }