From 8cb518844f0545227a02a9600a2912b532254a26 Mon Sep 17 00:00:00 2001 From: RogueAI42 Date: Tue, 20 Jun 2017 19:36:38 +1000 Subject: [PATCH] put this back when "fonts" exists --- ShiftOS.WinForms/Applications/TriSheet.cs | 7 +++---- 1 file 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(); }