mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -06:00
Add resoure path before calling super() to make translation lookup work
This commit is contained in:
parent
d2f2c7e078
commit
81c402c3bc
1 changed files with 2 additions and 2 deletions
|
@ -37,11 +37,11 @@ numpy.seterr(all='ignore')
|
||||||
|
|
||||||
class PrinterApplication(QtApplication):
|
class PrinterApplication(QtApplication):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(name = 'cura', version = "14.2.1")
|
|
||||||
|
|
||||||
if not hasattr(sys, 'frozen'):
|
if not hasattr(sys, 'frozen'):
|
||||||
Resources.addResourcePath(os.path.join(os.path.abspath(os.path.dirname(__file__)), '..'))
|
Resources.addResourcePath(os.path.join(os.path.abspath(os.path.dirname(__file__)), '..'))
|
||||||
|
|
||||||
|
super().__init__(name = 'cura', version = "14.2.1")
|
||||||
|
|
||||||
self.setRequiredPlugins([
|
self.setRequiredPlugins([
|
||||||
'CuraEngineBackend',
|
'CuraEngineBackend',
|
||||||
'MeshView',
|
'MeshView',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue