Don't crash when item isn't found.

This commit is contained in:
Edward Betts 2021-11-13 20:21:16 +00:00
parent 9a841921f4
commit caed12c325

View file

@ -1305,6 +1305,10 @@ export default {
this.close_edit_list();
var item = this.items[qid];
if (item === undefined) {
this.close_item();
return;
}
if (marker) {
this.selected_marker = marker;
} else {