mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 06:03:57 -06:00
isGlobalStack valid no longer remains false after it has been invalid once
This commit is contained in:
parent
727c34b535
commit
696f904f3e
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue