fix<Dashboard>: fix open submodule by context menu

This commit is contained in:
leo 2021-04-12 09:21:49 +08:00
parent 29658a7966
commit 70d98d5824

View file

@ -1014,7 +1014,7 @@ namespace SourceGit.UI {
sub.Path = Path.Combine(repo.Path, path); sub.Path = Path.Combine(repo.Path, path);
sub.Name = Path.GetFileName(path); sub.Name = Path.GetFileName(path);
sub.Parent = repo; sub.Parent = repo;
sub.Open(); App.Open(sub);
ev.Handled = true; ev.Handled = true;
}; };
@ -1043,7 +1043,8 @@ namespace SourceGit.UI {
sub.Name = Path.GetFileName(path); sub.Name = Path.GetFileName(path);
sub.Parent = repo; sub.Parent = repo;
App.Open(sub); App.Open(sub);
e.Handled = true;
} }
#endregion #endregion