Setup assistant: avoid null access

This commit is contained in:
Sybren A. Stüvel 2022-08-04 11:17:04 +02:00
parent 7d3d3d1d60
commit 3b06cdf519

View File

@ -395,7 +395,7 @@ export default {
this.blenderExeCheckResult = result;
if (result.is_usable) {
this.selectedBlender = result;
} else if (this.selectedBlender.source === 'input_path') {
} else if (this.selectedBlender != null && this.selectedBlender.source === 'input_path') {
this.selectedBlender = null;
}
this._refreshAllBlenders();