[Controls] Fix JS parameter injection into signal handlers warning

This commit is contained in:
Candice Bentéjac 2025-03-26 13:06:28 +01:00
parent bb9df08213
commit b4c5b02098

View file

@ -120,7 +120,7 @@ Item {
keyNavigationEnabled: false
highlightFollowsCurrentItem: true
highlightMoveDuration: 0
Keys.onPressed: {
Keys.onPressed: function(event) {
switch (event.key) {
case Qt.Key_Home:
textView.positionViewAtBeginning()