directly return from applyFilters() if the NM controller is not (yet) instantiated

This commit is contained in:
ralf 2022-08-02 14:53:34 +02:00
parent f699c36a47
commit d9c28d5a1e

View File

@ -618,7 +618,7 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2
let keep_selection = false; let keep_selection = false;
// Avoid loops cause by change events // Avoid loops cause by change events
if(this.update_in_progress) return; if(this.update_in_progress || !this.controller) return;
this.update_in_progress = true; this.update_in_progress = true;
// Cleared explicitly // Cleared explicitly