aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Applications
diff options
context:
space:
mode:
authorRogueAI42 <[email protected]>2017-06-20 19:36:38 +1000
committerRogueAI42 <[email protected]>2017-06-20 19:36:38 +1000
commit8cb518844f0545227a02a9600a2912b532254a26 (patch)
tree811d4a923f17f1538193568d87f54f6090df24d4 /ShiftOS.WinForms/Applications
parent134f7008998347f6cb18fdf551ab8f5d976539ff (diff)
downloadshiftos_thereturn-8cb518844f0545227a02a9600a2912b532254a26.tar.gz
shiftos_thereturn-8cb518844f0545227a02a9600a2912b532254a26.tar.bz2
shiftos_thereturn-8cb518844f0545227a02a9600a2912b532254a26.zip
put this back when "fonts" exists
Diffstat (limited to 'ShiftOS.WinForms/Applications')
-rw-r--r--ShiftOS.WinForms/Applications/TriSheet.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/ShiftOS.WinForms/Applications/TriSheet.cs b/ShiftOS.WinForms/Applications/TriSheet.cs
index 48c60ed..2cf381d 100644
--- a/ShiftOS.WinForms/Applications/TriSheet.cs
+++ b/ShiftOS.WinForms/Applications/TriSheet.cs
@@ -36,11 +36,10 @@ namespace ShiftOS.WinForms.Applications
public void ResetFonts()
{
+#if YALL_GOT_ANY_MORE_OF_THEM_NONEXISTENT_CONTROLS
fonts.Items.Clear();
- foreach (var font in FontFamily.Families)
- {
- fonts.Items.Add(font.Name);
- }
+ fonts.Items.AddRange(FontFamily.Families.Select(f => f.Name));
+#endif
UpdateUI();
}