mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 10:50:52 +08:00
fix<Preference>: fix UseWindowsTerminal can NOT be saved
This commit is contained in:
@@ -21,7 +21,7 @@ namespace SourceGit.Views {
|
||||
UpdateGitInfo(false);
|
||||
|
||||
HasWindowsTerminal = Models.ExecutableFinder.Find("wt.exe") != null;
|
||||
if (HasWindowsTerminal) Models.Preference.Instance.General.UseWindowsTerminal = false;
|
||||
if (!HasWindowsTerminal) Models.Preference.Instance.General.UseWindowsTerminal = false;
|
||||
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user