Fix binding loop

This commit is contained in:
Jaime van Kessel 2018-08-09 11:33:04 +02:00
parent 5c860d9592
commit 1180fad62f
2 changed files with 1 additions and 2 deletions

View File

@ -26,7 +26,6 @@ Column
OutputDeviceHeader OutputDeviceHeader
{ {
width: parent.width
outputDevice: connectedDevice outputDevice: connectedDevice
} }

View File

@ -16,7 +16,7 @@ Item
Rectangle Rectangle
{ {
anchors.fill: parent height: childrenRect.height
color: UM.Theme.getColor("setting_category") color: UM.Theme.getColor("setting_category")
property var activePrinter: outputDevice != null ? outputDevice.activePrinter : null property var activePrinter: outputDevice != null ? outputDevice.activePrinter : null