Fix: add explicit arguments to qml signal handlers
This commit is contained in:
parent
5d7ed68544
commit
6fa9f90cdc
@ -70,12 +70,12 @@ Controls.Control {
|
|||||||
searchField.rightActions.push(origAction);
|
searchField.rightActions.push(origAction);
|
||||||
}
|
}
|
||||||
|
|
||||||
Keys.onEscapePressed: {
|
Keys.onEscapePressed: (event) => {
|
||||||
proxyModel.searchFilter = "";
|
proxyModel.searchFilter = "";
|
||||||
parentKey.checked = false;
|
parentKey.checked = false;
|
||||||
event.accepted = true;
|
event.accepted = true;
|
||||||
}
|
}
|
||||||
Keys.onReturnPressed: {
|
Keys.onReturnPressed: (event) => {
|
||||||
accepted();
|
accepted();
|
||||||
event.accepted = true;
|
event.accepted = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user