BXLYT : Fix text panes with no fonts referenced
This commit is contained in:
parent
d5f2d60bfa
commit
30337a2fcf
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user