diff --git a/src/Mod/Draft/importDXF.py b/src/Mod/Draft/importDXF.py index f9a399af8..6db6e598c 100644 --- a/src/Mod/Draft/importDXF.py +++ b/src/Mod/Draft/importDXF.py @@ -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)