From b46cd339a1bd74ec8a44af0b0d6d7af166026ec6 Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Sat, 16 Jan 2021 11:41:37 -0500 Subject: [PATCH] Fix tooltips --- resources/qml/StatusIndicator.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: