mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-26 00:46:38 +00:00
MiRCARTToolText.py: fix non-US ASCII character handling.
This commit is contained in:
parent
f9f910160f
commit
12027bc6b5
@ -23,7 +23,7 @@
|
||||
#
|
||||
|
||||
from MiRCARTTool import MiRCARTTool
|
||||
import string, wx
|
||||
import wx
|
||||
|
||||
class MiRCARTToolText(MiRCARTTool):
|
||||
"""XXX"""
|
||||
@ -36,8 +36,6 @@ class MiRCARTToolText(MiRCARTTool):
|
||||
if keyModifiers != wx.MOD_NONE \
|
||||
and keyModifiers != wx.MOD_SHIFT:
|
||||
return True
|
||||
elif not keyChar in string.printable:
|
||||
return True
|
||||
else:
|
||||
if self.textColours == None:
|
||||
self.textColours = brushColours.copy()
|
||||
|
Loading…
Reference in New Issue
Block a user