From f190ce79272fdac4953a764c1eb508d812bbda2a Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 13 Sep 2021 20:08:31 +0800 Subject: [PATCH] fix: fix UseWindowsTerminal can NOT be saved --- src/Views/Preference.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Views/Preference.xaml.cs b/src/Views/Preference.xaml.cs index b01aae40..3c9e2431 100644 --- a/src/Views/Preference.xaml.cs +++ b/src/Views/Preference.xaml.cs @@ -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(); }