Fix "no materials loaded" messege in lathes (#28885)

fix
This commit is contained in:
Deserty0 2024-06-12 20:32:11 +10:00 committed by null
parent 353f451d25
commit fcd3607d7a
No known key found for this signature in database
GPG Key ID: 212F05528FD678BE
1 changed files with 1 additions and 1 deletions

View File

@ -87,6 +87,6 @@ public sealed partial class MaterialStorageControl : ScrollContainer
}
_currentMaterials = mats;
NoMatsLabel.Visible = ChildCount == 1;
NoMatsLabel.Visible = MaterialList.ChildCount == 1;
}
}