diff options
| author | william341 <[email protected]> | 2017-06-24 10:53:22 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-06-24 10:53:22 -0700 |
| commit | bae34710cf86240b2744196c4b95e569fb161c90 (patch) | |
| tree | d5ff99e5cc8f3db8a9236b247886866601b915b9 /ShiftOS.WinForms/Applications/TriSheet.cs | |
| parent | b4b19e7a4d203b58537f5b98214296ab52c49b2d (diff) | |
| parent | 1661f9a5bd46dbd7d2586787c55bfc407c027629 (diff) | |
| download | shiftos_thereturn-bae34710cf86240b2744196c4b95e569fb161c90.tar.gz shiftos_thereturn-bae34710cf86240b2744196c4b95e569fb161c90.tar.bz2 shiftos_thereturn-bae34710cf86240b2744196c4b95e569fb161c90.zip | |
Merge pull request #5 from shiftos-game/master
merge
Diffstat (limited to 'ShiftOS.WinForms/Applications/TriSheet.cs')
| -rw-r--r-- | ShiftOS.WinForms/Applications/TriSheet.cs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/ShiftOS.WinForms/Applications/TriSheet.cs b/ShiftOS.WinForms/Applications/TriSheet.cs index 48c60ed..2eaf6df 100644 --- a/ShiftOS.WinForms/Applications/TriSheet.cs +++ b/ShiftOS.WinForms/Applications/TriSheet.cs @@ -15,7 +15,7 @@ using ShiftOS.Objects.ShiftFS; namespace ShiftOS.WinForms.Applications { [WinOpen("trisheet")] - [AppscapeEntry("TriSheet", "Part of the trilogy of office applications for enhancement of your system. TriSheet is easliy the best spreadsheet program out there for ShiftOS.", 1024, 750, "file_skimmer;textpad", "Office")] + [AppscapeEntry("trisheet", "TriSheet", "Part of the trilogy of office applications for enhancement of your system. TriSheet is easliy the best spreadsheet program out there for ShiftOS.", 1024, 750, "file_skimmer;textpad", "Office")] [DefaultTitle("TriSheet")] [Launcher("TriSheet", false, null, "Office")] public partial class TriSheet : UserControl, IShiftOSWindow @@ -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(); } |
