Fix tooltips
This commit is contained in:
parent
8f7ca298bc
commit
b46cd339a1
@ -11,7 +11,7 @@ ImageButton {
|
|||||||
changeColorOnHover: (model.state == MtxEvent.Read)
|
changeColorOnHover: (model.state == MtxEvent.Read)
|
||||||
ToolTip.visible: hovered && model.state != MtxEvent.Empty
|
ToolTip.visible: hovered && model.state != MtxEvent.Empty
|
||||||
ToolTip.text: {
|
ToolTip.text: {
|
||||||
switch (state) {
|
switch (model.state) {
|
||||||
case MtxEvent.Failed:
|
case MtxEvent.Failed:
|
||||||
return qsTr("Failed");
|
return qsTr("Failed");
|
||||||
case MtxEvent.Sent:
|
case MtxEvent.Sent:
|
||||||
|
Loading…
Reference in New Issue
Block a user