mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
fix<Dashboard>: fix open submodule by context menu
This commit is contained in:
parent
29658a7966
commit
70d98d5824
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue