mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-23 10:22:13 +08:00
fix: crash because CRLFMode do not have a default value
This commit is contained in:
@@ -43,7 +43,7 @@ namespace SourceGit.Views
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
} = Models.CRLFMode.Supported[0];
|
||||
|
||||
public static readonly StyledProperty<string> GitVersionProperty =
|
||||
AvaloniaProperty.Register<Preference, string>(nameof(GitVersion));
|
||||
|
||||
Reference in New Issue
Block a user