Fix a typo that broke addition of default mouse mappings in gen-config

Also update options/types.py with new action name
This commit is contained in:
Kovid Goyal
2021-07-07 18:06:39 +05:30
parent 1ec07eb17a
commit 65b2ca8f57
2 changed files with 2 additions and 2 deletions

View File

@@ -568,7 +568,7 @@ class Definition:
for x in self.iter_all_non_groups():
if isinstance(x, ShortcutMapping) and which in ('map', '*'):
yield x
elif isinstance(x, MouseMapping) and which == ('mouse_map', '*'):
elif isinstance(x, MouseMapping) and which in ('mouse_map', '*'):
yield x
def parser_func(self, name: str) -> Callable: