From ebcd480c7c38a1ef97ed39dfdb59b3669aab633f Mon Sep 17 00:00:00 2001 From: Jonathan Wiedemann Date: Sun, 24 Jul 2016 15:51:03 +0200 Subject: [PATCH] Fix wrong display of translated message. --- src/Mod/Draft/importDXF.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Draft/importDXF.py b/src/Mod/Draft/importDXF.py index f9a399af83..6db6e598c8 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)