Cura/cura/Machines/Models
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 Move models around again 2019-03-26 08:29:22 +01:00
BaseMaterialsModel.py Add handling for case where variant could not be found 2019-11-12 13:28:12 +01:00
BuildPlateModel.py Remove a bunch of unused imports 2019-11-08 13:38:42 +01:00
CustomQualityProfilesDropDownMenuModel.py Fix updating custom quality menu model 2019-09-25 14:36:46 +02:00
DiscoveredPrintersModel.py Remove a bunch of unused imports 2019-11-08 13:38:42 +01:00
ExtrudersModel.py Move models around again 2019-03-26 08:29:22 +01:00
FavoriteMaterialsModel.py Merge branch 'master' into CURA-6793_performance 2019-10-23 09:58:08 +02:00
FirstStartMachineActionsModel.py Ensure that first start machine actions model gets initialized 2019-10-28 16:33:08 +01:00
GenericMaterialsModel.py Merge branch 'master' into CURA-6793_performance 2019-10-23 09:58:08 +02:00
GlobalStacksModel.py Resolve merge conflicts 2019-05-02 07:45:43 +02:00
IntentCategoryModel.py Merge branch '4.4' into translations_4.4 2019-11-19 11:54:08 +01:00
IntentModel.py Prevent crashes when a variant could not be found 2019-11-21 12:54:33 +01:00
IntentTranslations.py Merge remote-tracking branch 'origin/4.4' 2019-11-11 08:13:53 +01:00
MachineModelUtils.py Fix code style 2019-10-07 08:12:54 +02:00
MaterialBrandsModel.py Don't get whole container to just get metadata 2019-10-16 13:56:23 +02:00
MaterialManagementModel.py Fix merge conflicts 2019-10-15 15:00:03 +02:00
MultiBuildPlateModel.py Move models around again 2019-03-26 08:29:22 +01:00
NozzleModel.py Don't cache machine manager and application 2019-10-08 14:16:19 +02:00
QualityManagementModel.py Correctly sort the intents in QualityManagementModel 2019-11-05 14:59:44 +01:00
QualityProfilesDropDownMenuModel.py Merge branch 'master' into CURA-6793_performance 2019-10-16 15:47:41 +02:00
QualitySettingsModel.py Fix case if containers are None 2019-08-28 16:50:14 +02:00
SettingVisibilityPresetsModel.py Move models around again 2019-03-26 08:29:22 +01:00
UserChangesModel.py Remove use of deprecated extruders property 2019-09-13 17:27:16 +02:00