Horizon

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 21  →  ?path2? @ 22
/Horizon/Snapshots/SnapshotManagerForm.cs
@@ -1504,12 +1504,12 @@
 
private static List<DataGridViewRow> GetSelectedDataGridViewRows(DataGridView dataGridView)
{
return dataGridView.SelectedRows.OfType<DataGridViewRow>().ToList();
return dataGridView.SelectedRows.OfType<DataGridViewRow>().Where(row => row.Visible).ToList();
}
 
private static List<DataGridViewRow> GetAllDataGridViewRows(DataGridView dataGridView)
{
return dataGridView.Rows.OfType<DataGridViewRow>().ToList();
return dataGridView.Rows.OfType<DataGridViewRow>().Where(row => row.Visible).ToList();
}
 
private async Task RemoveColorFiles(IReadOnlyList<DataGridViewRow> rows,
@@ -1555,7 +1555,6 @@
}
}
 
 
private async Task TransferFiles(IReadOnlyList<DataGridViewRow> rows, Service service,
IProgress<DataGridViewRowProgress> progress, CancellationToken cancellationToken)
{