mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07: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