mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Fix tooltips
This commit is contained in:
parent
8f7ca298bc
commit
b46cd339a1
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue