mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-05-01 14:30:25 +08:00
fix: context menu did NOT closed after its placement target being recycled (#140)
This commit is contained in:
@@ -320,7 +320,8 @@ namespace SourceGit.Views
|
||||
};
|
||||
|
||||
menu.Items.Add(copy);
|
||||
menu.Open(TextArea.TextView);
|
||||
|
||||
TextArea.TextView.OpenContextMenu(menu);
|
||||
e.Handled = true;
|
||||
}
|
||||
|
||||
@@ -731,7 +732,8 @@ namespace SourceGit.Views
|
||||
};
|
||||
|
||||
menu.Items.Add(copy);
|
||||
menu.Open(TextArea.TextView);
|
||||
|
||||
TextArea.TextView.OpenContextMenu(menu);
|
||||
e.Handled = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user