From 2a8652161d73c4aecefb5c8394a079aa92f580b9 Mon Sep 17 00:00:00 2001 From: wmayer Date: Fri, 6 Jan 2017 18:04:07 +0100 Subject: [PATCH] move import statement to fix error --- src/Mod/OpenSCAD/OpenSCADUtils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/OpenSCAD/OpenSCADUtils.py b/src/Mod/OpenSCAD/OpenSCADUtils.py index 26ab35327b..1785d430d0 100644 --- a/src/Mod/OpenSCAD/OpenSCADUtils.py +++ b/src/Mod/OpenSCAD/OpenSCADUtils.py @@ -30,10 +30,10 @@ the module ''' try: + from PySide import QtGui _encoding = QtGui.QApplication.UnicodeUTF8 def translate(context, text): "convenience function for Qt translator" - from PySide import QtGui return QtGui.QApplication.translate(context, text, None, _encoding) except AttributeError: def translate(context, text):