mirror of
https://github.com/lalbornoz/roar.git
synced 2024-12-27 06:36:38 +00:00
MiRCARTToolText.py: fix non-US ASCII character handling.
This commit is contained in:
parent
1b00bb3b2f
commit
b91ba78abd
@ -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