Fix action name inconsistently updating in Edit Action page

This commit is contained in:
Carlos Zamora
2026-07-02 17:47:40 -07:00
parent 8214f66a61
commit e4596ee714

View File

@@ -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");
}
}