Skip to content

Commit d5eaba4

Browse files
committed
Fix select-all logic and update WordList URL link
Improved the logic for toggling the "select all" action in the list and replaced the outdated WordList URL with a corrected GitHub link
1 parent 02120b5 commit d5eaba4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/AmericanToBritish/DLL/PluginForm.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,10 @@ private void DoSelection(bool selectAll)
116116
{
117117
listViewFixes.BeginUpdate();
118118
foreach (ListViewItem item in listViewFixes.Items)
119+
{
119120
item.Checked = selectAll || !item.Checked;
121+
}
122+
120123
listViewFixes.EndUpdate();
121124
Refresh();
122125
}
@@ -182,7 +185,7 @@ private void linkLabelIssues_LinkClicked(object sender, LinkLabelLinkClickedEven
182185

183186
private void linkLabelWordList_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
184187
{
185-
Process.Start("https://raw.githubusercontent.com/SubtitleEdit/plugins/refs/heads/main/source/AmericanToBritish/DLL/WordList.xml");
188+
Process.Start("https://github.com/SubtitleEdit/plugins/blob/main/source/AmericanToBritish/DLL/WordList.xml");
186189
listViewFixes.Select();
187190
}
188191

0 commit comments

Comments
 (0)