Fix: Make "add printer" sections individually collapsable

One variable was incorrectly named

CURA-10484
This commit is contained in:
c.lamboo 2023-04-06 21:52:50 +02:00
parent 20b171dbeb
commit cf7bc063f1

View file

@ -19,7 +19,7 @@ Item
// The currently selected machine item in the local machine list. // The currently selected machine item in the local machine list.
property var currentItem: machineList.currentIndex >= 0 ? machineList.model.getItem(machineList.currentIndex) : null property var currentItem: machineList.currentIndex >= 0 ? machineList.model.getItem(machineList.currentIndex) : null
// The currently active (expanded) section/category, where section/category is the grouping of local machine items. // The currently active (expanded) section/category, where section/category is the grouping of local machine items.
property var currentSection: new Set() property var currentSections: new Set()
// By default (when this list shows up) we always expand the "Ultimaker" section. // By default (when this list shows up) we always expand the "Ultimaker" section.
property var preferredCategories: { property var preferredCategories: {
"Ultimaker B.V.": -2, "Ultimaker B.V.": -2,