Skip to content

Commit 0504555

Browse files
committed
Fixed keyboard combos not being stored.
1 parent 3506554 commit 0504555

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inputscope/listener.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
@author Erki Suurjaak
66
@created 06.04.2015
7-
@modified 06.05.2015
7+
@modified 07.05.2015
88
"""
99
from __future__ import print_function
1010
import datetime
@@ -187,7 +187,7 @@ def _handle_windows(self, event):
187187

188188
if vkey not in self.MODIFIERNAMES and not is_altgr:
189189
modifier = "-".join(k for k in ["Ctrl", "Alt", "Shift", "Win"]
190-
if self.modifiers[k])
190+
if self._modifiers[k])
191191
if modifier and modifier != "Shift": # Shift-X is not a combo
192192
if self._modifiers["Ctrl"] and event.Ascii:
193193
key = self._keyname(unichr(event.KeyID))

0 commit comments

Comments
 (0)