Cura/cura/Machines
Jaime van Kessel fb4ce43f0c
Prevent crashes when a variant could not be found
This should not happen, but we've seen some cases where it would cause a crash, usually
when a previous upgrade did something a bit weird (in this specific case; a printer
with an empty variant, whereas it should have a variant).

Since any change that the user will make will ensure that the variant is no longer empty (eg;
any selection of a variant will mean it's no longer empty) and that there is no way back,
it should be pretty safe to ignore the situation as it will resolve itself eventually

CURA-6992
2019-11-21 12:54:33 +01:00
..
Models Prevent crashes when a variant could not be found 2019-11-21 12:54:33 +01:00
__init__.py WIP: Create VariantManager 2018-02-16 14:20:02 +01:00
ContainerNode.py Remove deprecated getChildNode and getContainer in ContainerNode 2019-10-22 14:11:40 +02:00
ContainerTree.py Don't sleep for extruder stacks 2019-10-23 09:53:22 +02:00
IntentNode.py Add some profiling decorators to the ContainerTree 2019-10-04 13:29:22 +02:00
MachineErrorChecker.py Remove unused signal 2019-10-11 14:33:08 +02:00
MachineNode.py Make sure position is not None 2019-11-12 14:22:21 +01:00
MaterialGroup.py Added typing for various setting classes 2018-09-10 15:24:11 +02:00
MaterialNode.py Add some profiling decorators to the ContainerTree 2019-10-04 13:29:22 +02:00
QualityChangesGroup.py Fix renaming custom profile 2019-10-02 23:59:48 +02:00
QualityGroup.py Don't get whole container to just get metadata 2019-10-16 13:56:23 +02:00
QualityNode.py Add some profiling decorators to the ContainerTree 2019-10-04 13:29:22 +02:00
VariantNode.py Remove a bunch of unused imports 2019-11-08 13:38:42 +01:00
VariantType.py Move VariantType to VariantType.py 2018-08-02 16:11:55 +02:00