mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 20:29:05 +08:00
Add resoure path before calling super() to make translation lookup work
This commit is contained in:
parent
d2f2c7e078
commit
81c402c3bc
@ -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…
x
Reference in New Issue
Block a user