mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00:00
refactor: add repository
This commit is contained in:
parent
52fba29613
commit
275a52eb5c
6 changed files with 12 additions and 13 deletions
|
@ -129,8 +129,7 @@ namespace SourceGit.ViewModels
|
|||
|
||||
CallUIThread(() =>
|
||||
{
|
||||
var normalizedPath = path.Replace("\\", "/");
|
||||
var node = Preference.Instance.FindOrAddNodeByRepositoryPath(normalizedPath, null, true);
|
||||
var node = Preference.Instance.FindOrAddNodeByRepositoryPath(path, null, true);
|
||||
var launcher = App.GetLauncer();
|
||||
var page = null as LauncherPage;
|
||||
foreach (var one in launcher.Pages)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue