Fix empty material/quality profiles when switching variants
Fix empty material/quality profiles when switching variants

CURA-1278

senttech/Cura,Curahelper/Cura,hmflash/Cura,hmflash/Cura,ynotstartups/Wanhao,totalretribution/Cura,totalretribution/Cura,ynotstartups/Wanhao,senttech/Cura,fieldOfView/Cura,fieldOfView/Cura,Curahelper/Cura