Add resoure path before calling super() to make translation lookup work

This commit is contained in:
Arjen Hiemstra 2015-05-04 18:03:13 +02:00
parent d2f2c7e078
commit 81c402c3bc

View file

@ -37,11 +37,11 @@ numpy.seterr(all='ignore')
class PrinterApplication(QtApplication):
def __init__(self):
super().__init__(name = 'cura', version = "14.2.1")
if not hasattr(sys, 'frozen'):
Resources.addResourcePath(os.path.join(os.path.abspath(os.path.dirname(__file__)), '..'))
super().__init__(name = 'cura', version = "14.2.1")
self.setRequiredPlugins([
'CuraEngineBackend',
'MeshView',