Revert 1709 for now. It breaks other keyboard actions
This commit is contained in:
parent
37ea9c90dc
commit
27febfc6cb
|
@ -82,8 +82,9 @@ class Keybindings:
|
||||||
mask &= ~Gdk.ModifierType.SHIFT_MASK
|
mask &= ~Gdk.ModifierType.SHIFT_MASK
|
||||||
else:
|
else:
|
||||||
keyvals = Gdk.keyval_convert_case(keyval)
|
keyvals = Gdk.keyval_convert_case(keyval)
|
||||||
keyval = keyvals[1]
|
if keyvals[0] != keyvals[1]:
|
||||||
mask &= ~Gdk.ModifierType.SHIFT_MASK
|
keyval = keyvals[1]
|
||||||
|
mask &= ~Gdk.ModifierType.SHIFT_MASK
|
||||||
else:
|
else:
|
||||||
keyval = Gdk.keyval_to_lower(keyval)
|
keyval = Gdk.keyval_to_lower(keyval)
|
||||||
self._lookup.setdefault(mask, {})
|
self._lookup.setdefault(mask, {})
|
||||||
|
|
Loading…
Reference in New Issue