diff --git a/resources/qml/StatusIndicator.qml b/resources/qml/StatusIndicator.qml index e9659f20..bb8a501d 100644 --- a/resources/qml/StatusIndicator.qml +++ b/resources/qml/StatusIndicator.qml @@ -11,7 +11,7 @@ ImageButton { changeColorOnHover: (model.state == MtxEvent.Read) ToolTip.visible: hovered && model.state != MtxEvent.Empty ToolTip.text: { - switch (state) { + switch (model.state) { case MtxEvent.Failed: return qsTr("Failed"); case MtxEvent.Sent: