mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-30 13:51:53 +08:00
feature<Welcome>: 现在拖动目录到打开记录中后会直接打开仓库,而不是仅仅更新打开记录
This commit is contained in:
@@ -230,6 +230,7 @@ namespace SourceGit.Views.Widgets {
|
||||
if (dir != null) {
|
||||
var root = new Commands.GetRepositoryRootPath(path).Result();
|
||||
Models.Preference.Instance.AddRepository(root, dir, parent);
|
||||
CheckAndOpen(path);
|
||||
rebuild = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user