mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 20:35:53 +08:00
Only check for validationState changes if it's not already a value change
No need to check the second if-statement in most cases. Contributes to issue CURA-3291.
This commit is contained in:
parent
3ac9036b4a
commit
425dbf1ad8
@ -300,7 +300,7 @@ class MachineManager(QObject):
|
||||
# Notify UI items, such as the "changed" star in profile pull down menu.
|
||||
self.activeStackValueChanged.emit()
|
||||
|
||||
if property_name == "validationState":
|
||||
elif property_name == "validationState":
|
||||
if not self._stacks_have_errors:
|
||||
# fast update, we only have to look at the current changed property
|
||||
if self._global_container_stack.getProperty("machine_extruder_count", "value") > 1 and self._active_container_stack.getProperty(key, "settable_per_extruder"):
|
||||
|
Loading…
x
Reference in New Issue
Block a user