Merge pull request #725 from mattrose/724-unset-keybinding-toggle_scrollbar-prevents-right-click-menu-from-opening
Fix context menu keybinding reading.
This commit is contained in:
commit
8ae6f93f55
@ -30,6 +30,8 @@ class TerminalPopupMenu(object):
|
||||
|
||||
def get_menu_item_mask(self, maskstr):
|
||||
mask = 0
|
||||
if maskstr is None:
|
||||
return mask
|
||||
maskstr = maskstr.lower()
|
||||
if maskstr.find('<Shift>'.lower()) >= 0:
|
||||
mask = mask | Gdk.ModifierType.SHIFT_MASK
|
||||
|
Loading…
Reference in New Issue
Block a user