Et2VfsSelectDialog: Only start search when first loaded if dialog is open

Previously it always started search, even if created closed.
This commit is contained in:
nathan 2024-09-17 08:37:02 -06:00
parent 92225d8fc6
commit 84ef1ae2c8

View File

@ -232,7 +232,11 @@ export class Et2VfsSelectDialog
this._dialog.panel.style.height = "40em";
});
// Get file list
this.startSearch();
if(this.open)
{
debugger;
this.startSearch();
}
}
protected willUpdate(changedProperties : PropertyValues)