Cura/plugins
Kostas Karmas 39e9dcd4f5 Fix VersionUpgrade48to49 crashing if there is no "categories_expanded"
If the 4.8 is started from a clean install and no category gets expanded in the settings panel,
then the "categories_expanded" key will not exist in the [cura] preferences in cura.cfg.
As a result, when the 4.9 gets started in this specific case, the version upgrade 48 to 49 will
produce a crash and will be considered as "failed", which will then lead to cura requesting from
the user to go from the entire onboarding flow instead of landing on the "What's new" pages (even
though everything else has been properly updated).

This commit fixes that by checking whether the "categories_expanded" key exists in the cura.cfg.
2021-04-06 16:37:06 +02:00
..
3MFReader Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
3MFWriter Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
AMFReader Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
CuraDrive Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
CuraEngineBackend Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
CuraProfileReader Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
CuraProfileWriter Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
FirmwareUpdateChecker Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
FirmwareUpdater Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
GCodeGzReader Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
GCodeGzWriter Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
GCodeProfileReader Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
GCodeReader Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
GCodeWriter Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
ImageReader Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
LegacyProfileReader Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
MachineSettingsAction Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
ModelChecker Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
MonitorStage Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
PerObjectSettingsTool Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
PostProcessingPlugin Fix add script button list not working in MacOS 2021-04-06 14:53:20 +02:00
PrepareStage Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
PreviewStage Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
RemovableDriveOutputDevice Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
SentryLogger Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
SimulationView Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
SliceInfoPlugin Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
SolidView Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
SupportEraser Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
Toolbox Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
TrimeshReader Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
UFPReader Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
UFPWriter Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
UltimakerMachineActions Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
UM3NetworkPrinting Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
USBPrinting Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
VersionUpgrade Fix VersionUpgrade48to49 crashing if there is no "categories_expanded" 2021-04-06 16:37:06 +02:00
X3DReader Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
XmlMaterialProfile Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00
XRayView Increment SDK version to 7.5.0 2021-04-06 13:28:08 +02:00