mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
fix<Preference>: fix UseWindowsTerminal can NOT be saved
This commit is contained in:
parent
835dbc0ece
commit
f190ce7927
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ namespace SourceGit.Views {
|
||||||
UpdateGitInfo(false);
|
UpdateGitInfo(false);
|
||||||
|
|
||||||
HasWindowsTerminal = Models.ExecutableFinder.Find("wt.exe") != null;
|
HasWindowsTerminal = Models.ExecutableFinder.Find("wt.exe") != null;
|
||||||
if (HasWindowsTerminal) Models.Preference.Instance.General.UseWindowsTerminal = false;
|
if (!HasWindowsTerminal) Models.Preference.Instance.General.UseWindowsTerminal = false;
|
||||||
|
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue