fix: IsEnabled handler not triggered when GPGFormat changed

This commit is contained in:
Gadfly 2024-05-31 11:39:15 +08:00
parent 80dfa059ce
commit 198cf04c09
2 changed files with 6 additions and 3 deletions

View file

@ -66,10 +66,13 @@ namespace SourceGit.Views
set;
}
public static readonly StyledProperty<Models.GPGFormat> GPGFormatProperty =
AvaloniaProperty.Register<Preference, Models.GPGFormat>(nameof(GPGFormat));
public Models.GPGFormat GPGFormat
{
get;
set;
get => GetValue(GPGFormatProperty);
set => SetValue(GPGFormatProperty, value);
}
public static readonly StyledProperty<string> GPGExecutableFileProperty =