feature: Find external terminals.

This commit is contained in:
walterlv 2024-04-08 12:03:55 +08:00
parent 718788e07e
commit 421127bec9
8 changed files with 264 additions and 35 deletions

View file

@ -61,19 +61,6 @@ namespace SourceGit.Views
InitializeComponent();
}
private void OnOpenWithExternalEditor(object sender, RoutedEventArgs e)
{
if (sender is Button button && DataContext is ViewModels.Repository repo)
{
var menu = repo.CreateContextMenuForExternalEditors();
if (menu != null)
{
menu.Open(button);
e.Handled = true;
}
}
}
private void OnLocalBranchTreeLostFocus(object sender, RoutedEventArgs e)
{
if (sender is TreeView tree)