Fixed connection label state

CL-541
This commit is contained in:
Jaime van Kessel 2018-01-08 13:44:20 +01:00
parent df1bf419d9
commit 99de75a3fd
3 changed files with 8 additions and 1 deletions

View file

@ -44,7 +44,7 @@ Item
Label
{
text: outputDevice != null ? outputDevice.connectionText : catalog.i18nc("@info:status", "The printer is not connected.")
text: outputDevice != null ? "" : catalog.i18nc("@info:status", "The printer is not connected.")
color: outputDevice != null && outputDevice.acceptsCommands ? UM.Theme.getColor("setting_control_text") : UM.Theme.getColor("setting_control_disabled_text")
font: UM.Theme.getFont("very_small")
wrapMode: Text.WordWrap