From e69aa84c8b33ac3e0d91de9bf110b1f0c751c923 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 22 Jun 2017 13:15:11 -0400 Subject: [PATCH] Fix crash with blank combobox --- ShiftOS.WinForms/Applications/ShiftLetters.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ShiftOS.WinForms/Applications/ShiftLetters.cs b/ShiftOS.WinForms/Applications/ShiftLetters.cs index a09830a..6205745 100644 --- a/ShiftOS.WinForms/Applications/ShiftLetters.cs +++ b/ShiftOS.WinForms/Applications/ShiftLetters.cs @@ -180,6 +180,7 @@ namespace ShiftOS.WinForms.Applications if (Shiftorium.UpgradeInstalled("sl_operating_systems_wordlist")) comboBox1.Items.Add("Operating Systems"); btnrestart.Visible = true; lblword.Left = (this.Width - lblword.Width) / 2; + comboBox1.SelectedIndex = 0; } public void OnUpgrade()