From f3be394080d9e7d11fe3a2904c84a7d6d33150fc Mon Sep 17 00:00:00 2001 From: Ruben D Date: Thu, 3 May 2018 20:23:14 +0200 Subject: [PATCH] Properly get the application Why are we getting this passed via parent??? --- cura/CuraPackageManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/CuraPackageManager.py b/cura/CuraPackageManager.py index a789e0d63f..2f16a893ca 100644 --- a/cura/CuraPackageManager.py +++ b/cura/CuraPackageManager.py @@ -25,7 +25,7 @@ class CuraPackageManager(QObject): def __init__(self, parent = None): super().__init__(parent) - self._application = parent + self._application = Application.getInstance() self._container_registry = self._application.getContainerRegistry() self._plugin_registry = self._application.getPluginRegistry()