Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
yamp committed Jan 8, 2005
1 parent e46b51d commit c9bf9a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mediaportal/Configuration/EditCaptureCardForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -601,31 +601,31 @@ private void okButton_Click(object sender, System.EventArgs e)
{
if (videoCompressorComboBox.Enabled)
{
if (videoCompressorComboBox.Items>0 && videoCompressorComboBox.SelectedItem==null)
if (videoCompressorComboBox.Items.Count>0 && videoCompressorComboBox.SelectedItem==null)
{
MessageBox.Show("No video compressor selected.Please choose a video compressor", "MediaPortal Settings", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
return;
}
}
if (audioCompressorComboBox.Enabled)
{
if (audioCompressorComboBox.Items>0 && audioCompressorComboBox.SelectedItem==null)
if (audioCompressorComboBox.Items.Count>0 && audioCompressorComboBox.SelectedItem==null)
{
MessageBox.Show("No audio compressor selected.Please choose an audio compressor", "MediaPortal Settings", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
return;
}
}
if (audioDeviceComboBox.Enabled)
{
if (audioDeviceComboBox.Items>0 && audioDeviceComboBox.SelectedItem==null)
if (audioDeviceComboBox.Items.Count>0 && audioDeviceComboBox.SelectedItem==null)
{
MessageBox.Show("No audio device selected.Please choose an audio device", "MediaPortal Settings", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
return;
}
}
if (comboBoxLineInput.Enabled)
{
if (comboBoxLineInput.Items>0 && comboBoxLineInput.SelectedItem==null)
if (comboBoxLineInput.Items.Count>0 && comboBoxLineInput.SelectedItem==null)
{
MessageBox.Show("No line input selected.Please choose a line input", "MediaPortal Settings", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
return;
Expand Down

0 comments on commit c9bf9a8

Please sign in to comment.