From b91ba78abd82459573938de023229906a3bb8763 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Wed, 10 Jan 2018 04:31:20 +0100 Subject: [PATCH] MiRCARTToolText.py: fix non-US ASCII character handling. --- MiRCARTToolText.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/MiRCARTToolText.py b/MiRCARTToolText.py index ca1386a..ebb58fb 100644 --- a/MiRCARTToolText.py +++ b/MiRCARTToolText.py @@ -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()