Adapt auto-repeat shortcuts to new system

This commit is contained in:
miruka
2019-08-22 14:16:49 -04:00
parent 8de26c11a1
commit a47351a5ad
4 changed files with 22 additions and 13 deletions

View File

@@ -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
}

View File

@@ -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
}