diff --git a/src/UI/CommitViewer.xaml.cs b/src/UI/CommitViewer.xaml.cs index 12d192fe..3659adb9 100644 --- a/src/UI/CommitViewer.xaml.cs +++ b/src/UI/CommitViewer.xaml.cs @@ -485,8 +485,15 @@ namespace SourceGit.UI { if (grid == null) return; var menu = new ContextMenu(); + + var copyIcon = new System.Windows.Shapes.Path(); + copyIcon.Style = FindResource("Style.Icon") as Style; + copyIcon.Data = FindResource("Icon.Copy") as Geometry; + copyIcon.Width = 10; + var copy = new MenuItem(); copy.Header = "Copy"; + copy.Icon = copyIcon; copy.Click += (o, ev) => { var items = grid.SelectedItems; if (items.Count == 0) return;