mirror of
https://github.com/microsoft/terminal.git
synced 2025-12-15 16:40:12 -06:00
assert
This commit is contained in:
parent
849eb1df4d
commit
cd424f43dc
@ -1140,6 +1140,7 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
|
|||||||
void ActionsViewModel::AttemptDeleteKeyChord(const Control::KeyChord& keys)
|
void ActionsViewModel::AttemptDeleteKeyChord(const Control::KeyChord& keys)
|
||||||
{
|
{
|
||||||
// Update the settings model
|
// Update the settings model
|
||||||
|
assert(keys);
|
||||||
if (keys)
|
if (keys)
|
||||||
{
|
{
|
||||||
_Settings.ActionMap().DeleteKeyBinding(keys);
|
_Settings.ActionMap().DeleteKeyBinding(keys);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user