mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00: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…
Add table
Add a link
Reference in a new issue