summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-02-14 01:56:46 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-02-14 01:56:46 +0100
commit734fb7e28690f3878ae60ff7aec025d2c8987078 (patch)
treef11f184474db6d7776db0419184a08bd7e7001f7
parentFix hover handling in the timeline (diff)
downloadnheko-734fb7e28690f3878ae60ff7aec025d2c8987078.tar.xz
Add double tap to reply feature
Does not always work, since Text steals focus...

relates to #414
-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 3a2ed627..b731d29d 100644
--- a/resources/qml/TimelineRow.qml
+++ b/resources/qml/TimelineRow.qml
@@ -29,6 +29,7 @@ Item {
 
     TapHandler {
         onLongPressed: messageContextMenu.show(model.id, model.type, model.isEncrypted, model.isEditable, row, mapToItem(timelineRoot, point.position.x, point.position.y))
+        onDoubleTapped: chat.model.reply = model.id
     }
 
     RowLayout {