Cura/cura/Settings
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
..
__init__.py Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
ContainerManager.py Merge branch 'CURA-6856_signed_plugins_and_packages' of github.com:Ultimaker/Cura 2019-11-12 10:48:43 +01:00
cura_empty_instance_containers.py Give empty material the required material properties 2019-09-13 16:07:33 +02:00
CuraContainerRegistry.py Merge remote-tracking branch 'origin/master' into feature_intent 2019-10-04 10:19:36 +02:00
CuraContainerStack.py Fix intent profile selection 2019-10-01 15:21:01 +02:00
CuraFormulaFunctions.py Remove use of deprecated extruders property 2019-09-13 17:27:16 +02:00
CuraStackBuilder.py Implement lazy loading for machine nodes 2019-10-09 10:53:58 +02:00
Exceptions.py Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
ExtruderManager.py Remove a bunch of unused imports 2019-11-08 13:38:42 +01:00
ExtruderStack.py Remove deprecated currentExtruderPositions 2019-10-22 14:11:31 +02:00
GlobalStack.py Add typing 2019-10-22 14:14:14 +02:00
IntentManager.py Prevent crashes when a variant could not be found 2019-11-21 12:54:33 +01:00
MachineManager.py Revert "Add a few process events to setActiveMachine to make it react more smooth" 2019-10-28 16:04:43 +01:00
MachineNameValidator.py Remove unused parameter 2018-09-14 17:00:55 +02:00
MaterialSettingsVisibilityHandler.py Merge remote-tracking branch 'origin/master' into refactoring_machine_manager 2018-02-21 14:05:19 +01:00
PerObjectContainerStack.py Ensure that PerObjectContainer stack doesn't trigger a save 2019-09-06 11:16:12 +02:00
SetObjectExtruderOperation.py Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
SettingInheritanceManager.py Ensure that all updates from settingInheritance are on a timer 2019-11-01 15:14:33 +01:00
SettingOverrideDecorator.py Calculate bounding box for helper meshes 2019-05-24 10:49:35 +02:00
SettingVisibilityPreset.py Forbid interpolation in setting visibility preset files 2018-10-18 14:54:20 +02:00
SidebarCustomMenuItemsModel.py Fix icon name role 2018-09-17 10:51:56 +02:00
SimpleModeSettingsManager.py Remove use of deprecated extruders property 2019-09-13 17:27:16 +02:00