diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-02-14 01:56:46 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-02-14 01:56:46 +0100 |
commit | 734fb7e28690f3878ae60ff7aec025d2c8987078 (patch) | |
tree | f11f184474db6d7776db0419184a08bd7e7001f7 | |
parent | Fix hover handling in the timeline (diff) | |
download | nheko-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.qml | 1 |
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 { |