mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 14:32:35 +01:00
Avoid "encoding-flicker" in drag-n-drop 2 - thx Jamakmake :)
Related to 6c69933898
This commit is contained in:
parent
46451817ec
commit
b494a33dc9
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user