mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
feature<Welcome>: 现在拖动目录到打开记录中后会直接打开仓库,而不是仅仅更新打开记录
This commit is contained in:
parent
3e0f360acc
commit
84a0e9f463
1 changed files with 1 additions and 0 deletions
|
@ -230,6 +230,7 @@ namespace SourceGit.Views.Widgets {
|
||||||
if (dir != null) {
|
if (dir != null) {
|
||||||
var root = new Commands.GetRepositoryRootPath(path).Result();
|
var root = new Commands.GetRepositoryRootPath(path).Result();
|
||||||
Models.Preference.Instance.AddRepository(root, dir, parent);
|
Models.Preference.Instance.AddRepository(root, dir, parent);
|
||||||
|
CheckAndOpen(path);
|
||||||
rebuild = true;
|
rebuild = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue