Skip to content

Commit

Permalink
brr
Browse files Browse the repository at this point in the history
  • Loading branch information
MistressPlague committed Dec 22, 2023
1 parent 6ad17f3 commit 6a2bf9b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Easy Minecraft Modpacks/MainUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -370,14 +370,13 @@ private void UpdateRows()
{
var Name = row.Cells[1]?.Value?.ToString();

if (Name == null) continue;
if (Name == null || row.Cells[1].Style.BackColor == Color.Red) continue;
if (Name.ToLower().Contains(" api") || Name.ToLower().Contains(" config") || Name.ToLower().Contains(" lib")) continue;

intyes++;
}

label2.Text = $"{dataGridView1.Rows.Count} Rows, {dataGridView1.Rows.Count - intyes} Misc, {intyes} actual mods";

}

private void dataGridView1_RowsAdded(object sender, DataGridViewRowsAddedEventArgs e)
Expand Down

0 comments on commit 6a2bf9b

Please sign in to comment.