mirror of https://github.com/KDE/kasts.git
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);
|
||||
}
|
||||
|
||||
Keys.onEscapePressed: {
|
||||
Keys.onEscapePressed: (event) => {
|
||||
proxyModel.searchFilter = "";
|
||||
parentKey.checked = false;
|
||||
event.accepted = true;
|
||||
}
|
||||
Keys.onReturnPressed: {
|
||||
Keys.onReturnPressed: (event) => {
|
||||
accepted();
|
||||
event.accepted = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue