Fix wrong display of translated message.

This commit is contained in:
Jonathan Wiedemann
2016-07-24 15:51:03 +02:00
committed by Yorik van Havre
parent be0c8ed3ac
commit ebcd480c7c

View File

@@ -104,7 +104,7 @@ Please either enable FreeCAD to download these libraries:
Or download these libraries manually, as explained on
https://github.com/yorikvanhavre/Draft-dxf-importer
To enabled FreeCAD to download these libraries, answer Yes.""")
reply = QtGui.QMessageBox.question(None,"",message,
reply = QtGui.QMessageBox.question(None,"",message.decode('utf8'),
QtGui.QMessageBox.Yes | QtGui.QMessageBox.No, QtGui.QMessageBox.No)
if reply == QtGui.QMessageBox.Yes:
p.SetBool("dxfAllowDownload",True)