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 b114a051f4
commit 15b70be51b

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)