summary refs log tree commit diff
path: root/resources/qml/TimelineRow.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-02-01 02:22:53 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-02-09 20:22:53 +0100
commit9b7d33e847b02031fdc153716614f125992b3734 (patch)
treef75327037c6898accb8004fd610c57fd35048df4 /resources/qml/TimelineRow.qml
parentDisplay edits correctly (diff)
downloadnheko-9b7d33e847b02031fdc153716614f125992b3734.tar.xz
Implement message editing
The UI still looks ugly, but I have no good idea atm.

fixes #134
Diffstat (limited to 'resources/qml/TimelineRow.qml')
-rw-r--r--resources/qml/TimelineRow.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/qml/TimelineRow.qml b/resources/qml/TimelineRow.qml
index e4dc267b..d4f058e5 100644
--- a/resources/qml/TimelineRow.qml
+++ b/resources/qml/TimelineRow.qml
@@ -89,6 +89,7 @@ Item {
             id: editButton
 
             visible: (Settings.buttonsInTimeline && model.isEditable) || model.isEdited 
+            buttonTextColor: chat.model.edit == model.id ? colors.highlight : colors.buttonText
             Layout.alignment: Qt.AlignRight | Qt.AlignTop
             Layout.preferredHeight: 16
             width: 16