diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-03-05 17:22:42 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-03-05 17:22:47 +0100 |
commit | 2685eec6c7c7f05a5454a8100dd04d3abf565794 (patch) | |
tree | d1fdf5dac4a12fe1487f58a13fc4e3575e46b3fb /resources/qml/TimelineRow.qml | |
parent | Fix janky hoverhandling for text messages (diff) | |
download | nheko-2685eec6c7c7f05a5454a8100dd04d3abf565794.tar.xz |
Mark message currently being edited
Diffstat (limited to '')
-rw-r--r-- | resources/qml/TimelineRow.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/TimelineRow.qml b/resources/qml/TimelineRow.qml index 57d5d0ef..9d46e7ae 100644 --- a/resources/qml/TimelineRow.qml +++ b/resources/qml/TimelineRow.qml @@ -86,7 +86,7 @@ Item { } Image { - visible: model.isEdited + visible: model.isEdited || model.id == chat.model.edit Layout.alignment: Qt.AlignRight | Qt.AlignTop Layout.preferredHeight: 16 Layout.preferredWidth: 16 @@ -94,7 +94,7 @@ Item { width: 16 sourceSize.width: 16 sourceSize.height: 16 - source: "image://colorimage/:/icons/icons/ui/edit.png?" + colors.buttonText + source: "image://colorimage/:/icons/icons/ui/edit.png?" + ((model.id == chat.model.edit) ? colors.highlight : colors.buttonText) ToolTip.visible: editHovered.hovered ToolTip.text: qsTr("Edited") |