Skip to content

Commit

Permalink
Merge #2920 Force redraw of recommendation listview headers on Mono
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Nov 13, 2019
2 parents 033ea9d + ebcc5e2 commit 030f91e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ All notable changes to this project will be documented in this file.
- [Build] Force logical name for generated resources (#2899 by: DasSkelett; reviewed: HebaruSan)
- [GUI] Show target version for upgrades in change set (#2888 by: HebaruSan; reviewed: DasSkelett)
- [Netkan] Merge resources and include metanetkan (#2913 by: HebaruSan; reviewed: DasSkelett)
- [GUI] Force redraw of recommendation listview headers on Mono (#2920 by: HebaruSan; reviewed: DasSkelett)

### Internal

Expand Down
6 changes: 6 additions & 0 deletions GUI/MainRecommendations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,12 @@ private void ShowRecSugDialog(IEnumerable<ListViewItem> rows, HashSet<CkanModule

tabController.ShowTab("ChooseRecommendedModsTabPage", 3);
tabController.SetTabLock(true);

if (Platform.IsMono)
{
// Workaround: make sure the ListView headers are drawn
RecommendedModsListView.EndUpdate();
}

lock (this)
{
Expand Down

0 comments on commit 030f91e

Please sign in to comment.