Update method description - CURA-4447

This commit is contained in:
ChrisTerBeke 2017-10-23 11:43:15 +02:00
parent 4bd132943c
commit e63616ca41

View file

@ -884,7 +884,7 @@ class MachineManager(QObject):
## Used to update material and variant in the active container stack with a delay. ## Used to update material and variant in the active container stack with a delay.
# This delay prevents the stack from triggering a lot of signals (eventually resulting in slicing) # This delay prevents the stack from triggering a lot of signals (eventually resulting in slicing)
# before the user decided to keep or discard any of their changes using the dialog. # before the user decided to keep or discard any of their changes using the dialog.
# The activeQualityChanged signal triggers this method. # The Application.onDiscardOrKeepProfileChangesClosed signal triggers this method.
def _executeDelayedActiveContainerStackChanges(self): def _executeDelayedActiveContainerStackChanges(self):
if self._new_material_container is not None: if self._new_material_container is not None:
self._active_container_stack.material = self._new_material_container self._active_container_stack.material = self._new_material_container