mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 06:03:57 -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):
|
||||
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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue