Fix segfault with mode "default" key bindings (#5007)

ignore bindings when not in a valid mode

Co-authored-by: Ivan Zharov <zhiv.email@gmail.com>
Co-authored-by: Michael Stapelberg <stapelberg@users.noreply.github.com>
This commit is contained in:
zhrvn
2022-09-11 16:22:01 +03:00
committed by GitHub
parent f795c2c8da
commit e48b9aa284
3 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1 @@
Fix segfault with explicit mode "default" key bindings.