aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-06-22 13:15:11 -0400
committerMichael <[email protected]>2017-06-22 13:15:11 -0400
commite69aa84c8b33ac3e0d91de9bf110b1f0c751c923 (patch)
tree2d2805554b862db6477c5e259e7498e024a3b18b /ShiftOS.WinForms
parent1e6be6b12c392684a2b48f0f3737af84b8a72ad5 (diff)
downloadshiftos_thereturn-e69aa84c8b33ac3e0d91de9bf110b1f0c751c923.tar.gz
shiftos_thereturn-e69aa84c8b33ac3e0d91de9bf110b1f0c751c923.tar.bz2
shiftos_thereturn-e69aa84c8b33ac3e0d91de9bf110b1f0c751c923.zip
Fix crash with blank combobox
Diffstat (limited to 'ShiftOS.WinForms')
-rw-r--r--ShiftOS.WinForms/Applications/ShiftLetters.cs1
1 files changed, 1 insertions, 0 deletions
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()