mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-27 07:05:00 +00:00
feature: add context menu for issue link in commit details panel (#651)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
64860950c7
commit
163e8cc0a4
24 changed files with 76 additions and 66 deletions
|
@ -26,7 +26,7 @@ namespace SourceGit.Views
|
|||
if (DataContext is ViewModels.CommitDetail detail && sender is Grid grid && grid.DataContext is Models.Change change)
|
||||
{
|
||||
var menu = detail.CreateChangeContextMenu(change);
|
||||
grid.OpenContextMenu(menu);
|
||||
menu?.Open(grid);
|
||||
}
|
||||
|
||||
e.Handled = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue