Seek to event on double click instead of highlight

This commit is contained in:
Timotej Lazar 2021-09-15 21:53:42 +02:00
parent bb5b0b4b3f
commit 0bced7522b
No known key found for this signature in database
GPG key ID: B6F38793D143456F
2 changed files with 6 additions and 3 deletions

View file

@ -147,9 +147,9 @@ Page {
tags: eventList.tags
onEditingChanged: video.pause(editing)
onCurrentItemChanged: {
if (currentItem)
video.seek(currentItem.time)
onSelected: {
video.pause(true)
video.seek(event.time)
}
Keys.forwardTo: control