diff --git a/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesUnfixableParagraphs.Designer.cs b/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesUnfixableParagraphs.Designer.cs index d28f220cd..3e408698e 100644 --- a/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesUnfixableParagraphs.Designer.cs +++ b/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesUnfixableParagraphs.Designer.cs @@ -78,6 +78,7 @@ this.listView.UseCompatibleStateImageBehavior = false; this.listView.View = System.Windows.Forms.View.Details; this.listView.SelectedIndexChanged += new System.EventHandler(this.listView_SelectedIndexChanged); + this.listView.Click += new System.EventHandler(this.listView_Click); // // columnHeaderParagraphs // diff --git a/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesUnfixableParagraphs.cs b/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesUnfixableParagraphs.cs index 68d9fa789..79d0d6d56 100644 --- a/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesUnfixableParagraphs.cs +++ b/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesUnfixableParagraphs.cs @@ -1,14 +1,7 @@ -using Nikse.SubtitleEdit.Controls; -using Nikse.SubtitleEdit.Core.Common; +using Nikse.SubtitleEdit.Core.Common; using Nikse.SubtitleEdit.Logic; using System; using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using System.Windows.Forms; using static Nikse.SubtitleEdit.Forms.BeautifyTimeCodes.BeautifyTimeCodes; @@ -76,5 +69,10 @@ namespace Nikse.SubtitleEdit.Forms.BeautifyTimeCodes _selectParagraphAction.Invoke(pair.rightParagraph); } } + + private void listView_Click(object sender, EventArgs e) + { + listView_SelectedIndexChanged(sender, e); + } } }