mirror of
https://github.com/ShareX/ShareX.git
synced 2024-08-20 12:41:29 +12:00
Changed Linq expression to built in function
This commit is contained in:
parent
50da51d8fd
commit
9a22a4f5e2
1 changed files with 1 additions and 1 deletions
|
@ -1196,7 +1196,7 @@ private void tsmiUploadSelectedFile_Click(object sender, EventArgs e)
|
||||||
private void tsmiDeleteSelectedFile_Click(object sender, EventArgs e)
|
private void tsmiDeleteSelectedFile_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
uim.Delete();
|
uim.Delete();
|
||||||
lvUploads.SelectedItems.Cast<ListViewItem>().Select(x => x.Tag as UploadTask).Where(x => x != null && !x.IsWorking).ForEach(TaskManager.Remove);
|
RemoveSelectedItems();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void tsmiEditSelectedFile_Click(object sender, EventArgs e)
|
private void tsmiEditSelectedFile_Click(object sender, EventArgs e)
|
||||||
|
|
Loading…
Reference in a new issue