Seek to event on double click instead of highlight
This commit is contained in:
parent
bb5b0b4b3f
commit
0bced7522b
2 changed files with 6 additions and 3 deletions
|
@ -12,6 +12,8 @@ ListView {
|
|||
required property var tags // tag definitions
|
||||
property bool editing: false
|
||||
|
||||
signal selected(var event)
|
||||
|
||||
clip: true
|
||||
focus: true
|
||||
highlightMoveDuration: 0
|
||||
|
@ -100,6 +102,7 @@ ListView {
|
|||
control.currentIndex = index
|
||||
control.forceActiveFocus()
|
||||
}
|
||||
onDoubleClicked: control.selected(event)
|
||||
|
||||
contentItem: ColumnLayout {
|
||||
anchors { left: parent.left; right: parent.right; margins: 5 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue