Fix binding

This commit is contained in:
Den Delimarsky 2021-05-02 11:14:59 -07:00
parent 15df1a2f1d
commit 31ca8ff2ce
No known key found for this signature in database
GPG Key ID: E1BE1355085F0BCF

View File

@ -108,7 +108,7 @@
HorizontalAlignment="Left"
Margin="{StaticResource SmallTopMargin}"
MinWidth="90"
IsEnabled="{Binding IsEnabled}"
IsEnabled="{Binding Mode, Converter={StaticResource EspressoModeToReverseBoolConverter}}"
SmallChange="1"
LargeChange="5"/>
<muxc:NumberBox x:Uid="Espresso_TemporaryKeepAwake_Minutes"
@ -118,7 +118,7 @@
HorizontalAlignment="Left"
Margin="{StaticResource SmallLeftTopRightBottomMargin}"
MinWidth="90"
IsEnabled="{Binding IsEnabled}"
IsEnabled="{Binding Mode, Converter={StaticResource EspressoModeToReverseBoolConverter}}"
SmallChange="1"
LargeChange="5"/>
</StackPanel>