mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-25 22:10:22 +00:00
BXLYT : Fix text panes with no fonts referenced
This commit is contained in:
parent
d5f2d60bfa
commit
30337a2fcf
1 changed files with 5 additions and 2 deletions
|
@ -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 a new issue