Skip to content

Commit

Permalink
Add icon for currently checked out repository
Browse files Browse the repository at this point in the history
  • Loading branch information
pmiossec committed Sep 6, 2022
1 parent 2da1a00 commit c4d997d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions GitUI/CommandsDialogs/FormBrowseController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ public class FormBrowseController : IFormBrowseController
DisplayStyle = ToolStripItemDisplayStyle.ImageAndText
};

if (menuItemContainer.Text == caption)
{
item.Image = menuItemContainer.Image;
}

menuItemContainer.DropDownItems.Add(item);

item.Click += (obj, args) =>
Expand Down

0 comments on commit c4d997d

Please sign in to comment.