Skip to content

Commit

Permalink
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 12, 2019
1 parent 033ea9d commit ebcc5e2
Showing 1 changed file with 6 additions and 0 deletions.
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 ebcc5e2

Please sign in to comment.