Fix tooltips
This commit is contained in:
parent
8f7ca298bc
commit
b46cd339a1
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user