mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:19:05 +08:00
isGlobalStack valid no longer remains false after it has been invalid once
This commit is contained in:
parent
727c34b535
commit
696f904f3e
@ -84,8 +84,8 @@ class MachineManagerModel(QObject):
|
|||||||
self._global_stack_valid = False
|
self._global_stack_valid = False
|
||||||
self.globalValidationChanged.emit()
|
self.globalValidationChanged.emit()
|
||||||
else:
|
else:
|
||||||
new_validation_state = self._checkStackForErrors(self._active_container_stack)
|
has_errors = self._checkStackForErrors(self._active_container_stack)
|
||||||
if new_validation_state:
|
if not has_errors:
|
||||||
self._global_stack_valid = True
|
self._global_stack_valid = True
|
||||||
self.globalValidationChanged.emit()
|
self.globalValidationChanged.emit()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user