mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Change order of initialisation, so we don't overwrite list with empty data
CURA-2361
This commit is contained in:
parent
e3d78c17ea
commit
b43a5a7e31
1 changed files with 3 additions and 2 deletions
|
@ -10,12 +10,12 @@ class SettingInheritanceManager(QObject):
|
|||
Application.getInstance().globalContainerStackChanged.connect(self._onGlobalContainerChanged)
|
||||
self._global_container_stack = None
|
||||
self._onGlobalContainerChanged()
|
||||
|
||||
self._settings_with_inheritance_warning = []
|
||||
self._active_container_stack = None
|
||||
cura.Settings.ExtruderManager.getInstance().activeExtruderChanged.connect(self._onActiveExtruderChanged)
|
||||
self._onActiveExtruderChanged()
|
||||
|
||||
self._settings_with_inheritance_warning = []
|
||||
|
||||
|
||||
settingsWithIntheritanceChanged = pyqtSignal()
|
||||
|
||||
|
@ -37,6 +37,7 @@ class SettingInheritanceManager(QObject):
|
|||
self._update() # Ensure that the settings_with_inheritance_warning list is populated.
|
||||
self._active_container_stack.propertyChanged.connect(self._onPropertyChanged)
|
||||
|
||||
|
||||
def _onPropertyChanged(self, key, property_name):
|
||||
if property_name == "value" and self._global_container_stack:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue