mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 10:42:35 +01:00
Remove async due to crash in Netflix quality check
This commit is contained in:
parent
4aaaa72a08
commit
6e3f905f6d
@ -150,14 +150,14 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
comboBoxLanguage.SelectedIndexChanged += RuleCheckedChanged;
|
||||
}
|
||||
|
||||
private async void RuleCheckedChanged(object sender, EventArgs e)
|
||||
private void RuleCheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (_loading)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
await Task.Run(() => _netflixQualityController.RunChecks(_subtitle, GetAllSelectedChecks())).ConfigureAwait(true);
|
||||
_netflixQualityController.RunChecks(_subtitle, GetAllSelectedChecks());
|
||||
labelTotal.Text = string.Format(LanguageSettings.Current.NetflixQualityCheck.FoundXIssues, _netflixQualityController.Records.Count);
|
||||
linkLabelOpenReportFolder.Left = labelTotal.Left + labelTotal.Width + 15;
|
||||
linkLabelOpenReportFolder.Text = LanguageSettings.Current.NetflixQualityCheck.OpenReportInFolder;
|
||||
@ -176,7 +176,6 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
}
|
||||
|
||||
listViewFixes.Items.AddRange(listViewItems.ToArray());
|
||||
|
||||
listViewFixes.EndUpdate();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user