mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Simplify can_override conditional
Contributes to CL-1259
This commit is contained in:
parent
6dc43f9ed1
commit
2a80a8d0db
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class ConfigurationChangeModel(QObject):
|
|||
super().__init__()
|
||||
self._type_of_change = type_of_change
|
||||
# enum = ["material", "print_core_change"]
|
||||
self._can_override = False if self._type_of_change in BLOCKING_CHANGE_TYPES else True
|
||||
self._can_override = self._type_of_change not in BLOCKING_CHANGE_TYPES
|
||||
self._index = index
|
||||
self._target_name = target_name
|
||||
self._origin_name = origin_name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue