Commit e3110d79 authored by Dan Pascu's avatar Dan Pascu

Set empty text when status is None instead of hiding the label

parent e0f50b8d
......@@ -176,9 +176,8 @@ class StatusLabel(QLabel):
palette.setColor(QPalette.Text, color)
self.setPalette(palette)
self.setText(unicode(value))
self.show()
else:
self.hide()
self.setText(u'')
value = property(_get_value, _set_value)
del _get_value, _set_value
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment