Avoid "encoding-flicker" in drag-n-drop 2 - thx Jamakmake :)

Related to 6c69933898
This commit is contained in:
Nikolaj Olsson 2020-04-14 16:29:45 +02:00
parent 46451817ec
commit b494a33dc9

View File

@ -12930,6 +12930,7 @@ namespace Nikse.SubtitleEdit.Forms
}
comboBoxEncoding.BeginUpdate();
comboBoxSubtitleFormats.BeginUpdate();
if (file.Length < Subtitle.MaxFileSize)
{
@ -12964,6 +12965,7 @@ namespace Nikse.SubtitleEdit.Forms
MessageBox.Show(string.Format(_language.DropFileXNotAccepted, fileName));
}
comboBoxSubtitleFormats.EndUpdate();
comboBoxEncoding.EndUpdate();
}
}