Do not try to insert control characters.

This commit is contained in:
Martin v. Löwis 2012-06-03 12:26:09 +02:00
parent 862d13a30f
commit 97aa21b46a
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ class AutoCompleteWindow:
# A modifier key, so ignore
return
elif event.char:
elif event.char and event.char >= ' ':
# Regular character with a non-length-1 keycode
self._change_start(self.start + event.char)
self.lasttypedstart = self.start