fix utf-8 decoding issue in Draft

This commit is contained in:
wmayer
2018-01-02 10:24:37 +01:00
parent fdc2086d11
commit 42d577ba68

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")