CURA-4870 Clean the error messages from qml by not rendering components

if there is no outputDevice defined.
This commit is contained in:
Diego Prado Gesto 2018-03-13 13:40:31 +01:00
parent dfb903fb81
commit 9196802e83
3 changed files with 7 additions and 4 deletions

View file

@ -11,7 +11,7 @@ import Cura 1.0 as Cura
Button
{
id: base
property var outputDevice: Cura.MachineManager.printerOutputDevices[0]
property var outputDevice: null
property var matched: updateOnSync()
text: matched == true ? "Yes" : "No"
width: parent.width