Skip to content

Commit

Permalink
Merge #2704 Select 2nd cell on MarkAllUpdatesToolButton_Click
Browse files Browse the repository at this point in the history
  • Loading branch information
politas committed Mar 27, 2019
2 parents 12803bc + 7982d99 commit 3cf72c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ All notable changes to this project will be documented in this file.
- [GUI] Only update mod list once at GUI startup (#2694 by: HebaruSan; reviewed: politas)
- [GUI] Only show replace col if a replaced module is installed (#2697 by: HebaruSan; reviewed: politas)
- [GUI] Update all CKAN URL references (#2702 by: DasSkelett; reviewed: HebaruSan)
- [GUI] Select 2nd instead of 3rd cell on MarkAllUpdatesToolButton_Click (#2704 by: DasSkelett; reviewed: politas)

## v1.25.4 Kennedy

Expand Down
6 changes: 2 additions & 4 deletions GUI/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -572,10 +572,8 @@ private void MarkAllUpdatesToolButton_Click(object sender, EventArgs e)
configuration.SortByColumnIndex = new_sort_column.Index;
UpdateFilters(this);

// Selects the top row and scrolls the list to it.
DataGridViewCell cell = ModList.Rows[0].Cells[2];
ModList.CurrentCell = cell;

// Select the top row and scroll the list to it.
ModList.CurrentCell = ModList.Rows[0].Cells[1];
}

ModList.Refresh();
Expand Down

0 comments on commit 3cf72c5

Please sign in to comment.