mirror of
https://github.com/microsoft/terminal.git
synced 2026-07-08 18:16:28 +00:00
Fix action name inconsistently updating in Edit Action page
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user