fix crash on drawing unloaded interface image

This commit is contained in:
Sergey Luzyanin
2025-11-26 16:33:54 +03:00
parent 248bf7c9a0
commit 5fd592de89

View File

@ -2046,7 +2046,7 @@ function CDrawingDocument()
}
else
{
if(_img.Status === ImageLoadStatus.Loading)
if(_img && _img.Status === ImageLoadStatus.Loading)
{
}