Skip to content

Commit

Permalink
* Fixed combobox not selecting 'Custom' item when selecting a custom …
Browse files Browse the repository at this point in the history
…language
  • Loading branch information
CodeDead committed Feb 10, 2016
1 parent 20f08d4 commit 80c4d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DeadLock/Forms/FrmSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ private void btnSave_Click(object sender, EventArgs e)

private void btnSelectPath_Click(object sender, EventArgs e)
{
cboLanguage.SelectedIndex = 2;
cboLanguage.SelectedIndex = cboLanguage.Items.Count -1;
OpenFileDialog ofd = new OpenFileDialog { Filter = @"XML (*.xml)|*.xml" };
if (ofd.ShowDialog() == DialogResult.OK)
{
Expand Down

0 comments on commit 80c4d6e

Please sign in to comment.