fix utf-8 decoding issue in Draft

This commit is contained in:
wmayer
2018-01-02 10:24:37 +01:00
parent 74aa6b04b3
commit 90a71f34bc

View File

@@ -49,7 +49,7 @@ except ImportError:
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def translate(context, text, utf8_decode=False):
def translate(context, text, utf8_decode=True):
"""convenience function for Qt translator
context: str
context is typically a class name (e.g., "MyDialog")