Adapt auto-repeat shortcuts to new system
This commit is contained in:
@@ -5,6 +5,7 @@ QtObject {
|
||||
signal held(var event)
|
||||
signal released(var event)
|
||||
|
||||
|
||||
property bool enabled: true
|
||||
property var sequences: "" // string or array of strings
|
||||
}
|
||||
|
@@ -79,7 +79,7 @@ HButton {
|
||||
Timer {
|
||||
interval: 100
|
||||
repeat: true
|
||||
running: true
|
||||
// running: true
|
||||
// Component.onCompleted won't work for this
|
||||
onTriggered: if (shouldBeCurrent) view.currentIndex = model.index
|
||||
}
|
||||
|
Reference in New Issue
Block a user