Revert 1709 for now. It breaks other keyboard actions

This commit is contained in:
Stephen Boddy 2017-02-02 17:04:14 +01:00
parent 37ea9c90dc
commit 27febfc6cb
1 changed files with 3 additions and 2 deletions

View File

@ -82,6 +82,7 @@ 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)
if keyvals[0] != keyvals[1]:
keyval = keyvals[1] keyval = keyvals[1]
mask &= ~Gdk.ModifierType.SHIFT_MASK mask &= ~Gdk.ModifierType.SHIFT_MASK
else: else: