Commit 66b87c56 authored by Felipe Kinoshita's avatar Felipe Kinoshita 🌎 Committed by Claudio Cambra
Browse files

Allow the ESC key to close the incidence editor

parent 30a03067
Pipeline #88973 passed with stage
in 1 minute and 57 seconds
......@@ -1059,4 +1059,14 @@ Kirigami.ScrollablePage {
}
}
}
Keys.onPressed: {
switch (event.key) {
case Qt.Key_Escape:
cancel();
return;
default:
return;
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment