mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 04:37:51 -06:00
Correct the print sequence when discarding the current changes
CURA-7827
This commit is contained in:
parent
69e0e1c4e5
commit
4b35bd1724
2 changed files with 5 additions and 2 deletions
|
@ -345,6 +345,9 @@ class ContainerManager(QObject):
|
|||
# user changes are possibly added to make the current setup match the current enabled extruders
|
||||
machine_manager.correctExtruderSettings()
|
||||
|
||||
# The Print Sequence should be changed to match the current setup
|
||||
machine_manager.correctPrintSequence()
|
||||
|
||||
for container in send_emits_containers:
|
||||
container.sendPostponedEmits()
|
||||
|
||||
|
|
|
@ -128,7 +128,7 @@ class MachineManager(QObject):
|
|||
self.activeQualityChangesGroupChanged.connect(self.activeQualityDisplayNameChanged)
|
||||
|
||||
self.activeStackValueChanged.connect(self._reCalculateNumUserSettings)
|
||||
self.numberExtrudersEnabledChanged.connect(self._correctPrintSequence)
|
||||
self.numberExtrudersEnabledChanged.connect(self.correctPrintSequence)
|
||||
|
||||
activeQualityDisplayNameChanged = pyqtSignal()
|
||||
|
||||
|
@ -858,7 +858,7 @@ class MachineManager(QObject):
|
|||
title = catalog.i18nc("@info:title", "Settings updated"))
|
||||
caution_message.show()
|
||||
|
||||
def _correctPrintSequence(self) -> None:
|
||||
def correctPrintSequence(self) -> None:
|
||||
"""
|
||||
Sets the Print Sequence setting to "all-at-once" when there are more than one enabled extruders.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue