Use the expanded categories from Cura to expand the proper categories on startup

This commit is contained in:
Arjen Hiemstra 2016-06-23 13:31:01 +02:00
parent b14ae94190
commit de36122531

View file

@ -29,8 +29,10 @@ ScrollView
model: UM.SettingDefinitionsModel {
id: definitionsModel;
containerId: Cura.MachineManager.activeDefinitionId
exclude: ["machine_settings"]
visibilityHandler: UM.SettingPreferenceVisibilityHandler { }
exclude: ["machine_settings"]
expanded: Printer.expandedCategories
onExpandedChanged: Printer.setExpandedCategories(expanded)
filter:
{