From 198cf04c093f144911dabd06473745c0f099038d Mon Sep 17 00:00:00 2001 From: Gadfly Date: Fri, 31 May 2024 11:39:15 +0800 Subject: [PATCH] fix: IsEnabled handler not triggered when GPGFormat changed --- src/Views/Preference.axaml | 2 +- src/Views/Preference.axaml.cs | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Views/Preference.axaml b/src/Views/Preference.axaml index a75eece1..46279470 100644 --- a/src/Views/Preference.axaml +++ b/src/Views/Preference.axaml @@ -438,7 +438,7 @@ Height="28" CornerRadius="3" Text="{Binding #me.GPGExecutableFile, Mode=TwoWay}" - IsEnabled="{Binding #me.GPGFormat, Converter={StaticResource EnumToBoolConverter}, ConverterParameter={x:Static m:GPGFormat.OPENPGP}}"> + IsEnabled="{Binding #me.GPGFormat, Mode=TwoWay, Converter={StaticResource EnumToBoolConverter}, ConverterParameter={x:Static m:GPGFormat.OPENPGP}}">