Skip to content

Commit

Permalink
Merge pull request #6199 from tommy9/@obsolete-annotation-crash
Browse files Browse the repository at this point in the history
Change xaml property from Color to Brush to prevent crash with @obsolete annotation
  • Loading branch information
retailcoder committed Jan 29, 2024
2 parents cd1f206 + cadd0cd commit d6b0835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rubberduck.Core/UI/Controls/ToolBar.xaml
Expand Up @@ -458,7 +458,7 @@
<Setter Property="Foreground" Value="{Binding IsDimmed, Mode=OneWay, Converter={StaticResource BooleanToDimmed}}" />
<Style.Triggers>
<DataTrigger Binding="{Binding IsObsolete}" Value="True">
<Setter Property="Foreground" Value="{StaticResource CaptionDisabledColor}" />
<Setter Property="Foreground" Value="{StaticResource CaptionDisabledBrush}" />
<Setter Property="TextDecorations" Value="Strikethrough" />
</DataTrigger>
</Style.Triggers>
Expand Down

0 comments on commit d6b0835

Please sign in to comment.