Fix: add explicit arguments to qml signal handlers

This commit is contained in:
Bart De Vries 2024-01-05 16:20:29 +01:00
parent 5d7ed68544
commit 6fa9f90cdc
1 changed files with 2 additions and 2 deletions

View File

@ -70,12 +70,12 @@ Controls.Control {
searchField.rightActions.push(origAction);
}
Keys.onEscapePressed: {
Keys.onEscapePressed: (event) => {
proxyModel.searchFilter = "";
parentKey.checked = false;
event.accepted = true;
}
Keys.onReturnPressed: {
Keys.onReturnPressed: (event) => {
accepted();
event.accepted = true;
}