mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -06:00
Account for global container stack being None in the backend plugin
This commit is contained in:
parent
b1f887a70f
commit
396f023bdf
1 changed files with 2 additions and 1 deletions
|
@ -57,6 +57,7 @@ class CuraEngineBackend(Backend):
|
||||||
|
|
||||||
#When any setting property changed, call the _onSettingChanged function.
|
#When any setting property changed, call the _onSettingChanged function.
|
||||||
#This function will then see if we need to start slicing.
|
#This function will then see if we need to start slicing.
|
||||||
|
if Application.getInstance().getGlobalContainerStack():
|
||||||
Application.getInstance().getGlobalContainerStack().propertyChanged.connect(self._onSettingChanged)
|
Application.getInstance().getGlobalContainerStack().propertyChanged.connect(self._onSettingChanged)
|
||||||
|
|
||||||
#When you update a setting and other settings get changed through inheritance, many propertyChanged signals are fired.
|
#When you update a setting and other settings get changed through inheritance, many propertyChanged signals are fired.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue