Fix merge conflicts

This commit is contained in:
Lipu Fei 2019-03-22 10:00:57 +01:00
commit 80dff49b8a
4 changed files with 14 additions and 7 deletions

View file

@ -16,10 +16,13 @@ ScrollView
{
id: base
// The currently selected machine item in the local machine list.
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.
property string currentSection: preferredCategory
// By default (when this list shows up) we always expand the "Ultimaker" section.
property string preferredCategory: "Ultimaker"
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff

View file

@ -91,7 +91,7 @@ Item
anchors.left: parent.left
anchors.right: parent.right
anchors.rightMargin: 10
anchors.rightMargin: UM.Theme.getSize("default_margin").width
outputDevice: modelData.device
enabled: !modelData.is_unknown_machine_type