[Internal] - Break whenever comboboxSubtitleFontSize item is equal to subtitleFontSize

This commit is contained in:
ivandrofly 2015-08-26 05:27:21 +01:00
parent f8b1092507
commit 33c4a519bd

View File

@ -2716,7 +2716,10 @@ $DROP=[DROPVALUE]" + Environment.NewLine + Environment.NewLine +
foreach (string item in comboBoxSubtitleFontSize.Items)
{
if (item == Convert.ToInt32(_subtitleFontSize).ToString(CultureInfo.InvariantCulture))
{
comboBoxSubtitleFontSize.SelectedIndex = i;
break;
}
i++;
}
}
@ -2727,7 +2730,10 @@ $DROP=[DROPVALUE]" + Environment.NewLine + Environment.NewLine +
foreach (string item in comboBoxSubtitleFontSize.Items)
{
if (item == Convert.ToInt32(_subtitleFontSize).ToString(CultureInfo.InvariantCulture))
{
comboBoxSubtitleFontSize.SelectedIndex = i;
break;
}
i++;
}
}