1
0
mirror of synced 2024-11-28 01:10:51 +01:00

BXLYT : Fix text panes with no fonts referenced

This commit is contained in:
KillzXGaming 2020-04-17 17:31:53 -04:00
parent d5f2d60bfa
commit 30337a2fcf

View File

@ -48,8 +48,11 @@ namespace LayoutBXLYT
fontFileCB.Items.Add(font);
}
if (fontFileCB.Items.Contains(pane.FontName))
fontFileCB.SelectedItem = pane.FontName;
if (pane.FontName != null)
{
if (fontFileCB.Items.Contains(pane.FontName))
fontFileCB.SelectedItem = pane.FontName;
}
textBoxTB.Bind(pane, "TextBoxName");