Fix crash with blank combobox

This commit is contained in:
Michael 2017-06-22 13:15:11 -04:00
parent 1e6be6b12c
commit e69aa84c8b

View file

@ -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()