Commit fe50ac82 authored by Claudio Cambra's avatar Claudio Cambra
Browse files

Close the incidence info popup if no valid incidence item is set



Signed-off-by: Claudio Cambra's avatarClaudio Cambra <claudio.cambra@gmail.com>
parent 0e2a2f43
......@@ -591,6 +591,7 @@ Kirigami.ApplicationWindow {
function calculateIncidenceItemPosition() {
if (!openingIncidenceItem) {
console.log("Can't calculate incidence item position for popup, no opening incidence item is set");
close();
return;
}
......
Supports Markdown
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