Fix tooltips

This commit is contained in:
Loren Burkholder 2021-01-16 11:41:37 -05:00
parent 8f7ca298bc
commit b46cd339a1

View file

@ -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: