fix: git auto found not correctly saved

This commit is contained in:
Roy Qu 2022-02-15 22:26:24 +08:00
parent 6177398ce6
commit c58b76d7cd
1 changed files with 1 additions and 1 deletions

View File

@ -5155,7 +5155,7 @@ void Settings::VCS::detectGitInPath()
QString oldPath = mGitPath;
setGitPath(dir.filePath(GIT_PROGRAM));
if (mGitOk) {
doSave();
save();
return;
} else {
mGitPath = oldPath;