mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 20:52:44 +01:00
[Internal] - Break whenever comboboxSubtitleFontSize item is equal to subtitleFontSize
This commit is contained in:
parent
f8b1092507
commit
33c4a519bd
@ -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++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user