mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00:00
fix: context menu did NOT closed after its placement target being recycled (#140)
This commit is contained in:
parent
e9208ef112
commit
0dea7ed0e2
11 changed files with 54 additions and 38 deletions
|
@ -42,7 +42,7 @@ namespace SourceGit.Views
|
|||
if (sender is Grid grid && DataContext is ViewModels.Welcome vm)
|
||||
{
|
||||
var menu = vm.CreateContextMenu(grid.DataContext as ViewModels.RepositoryNode);
|
||||
menu?.Open(grid);
|
||||
grid.OpenContextMenu(menu);
|
||||
e.Handled = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue