Skip to content

Commit d6b0835

Browse files
authored
Merge pull request #6199 from tommy9/@obsolete-annotation-crash
Change xaml property from Color to Brush to prevent crash with @obsolete annotation
2 parents cd1f206 + cadd0cd commit d6b0835

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rubberduck.Core/UI/Controls/ToolBar.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@
458458
<Setter Property="Foreground" Value="{Binding IsDimmed, Mode=OneWay, Converter={StaticResource BooleanToDimmed}}" />
459459
<Style.Triggers>
460460
<DataTrigger Binding="{Binding IsObsolete}" Value="True">
461-
<Setter Property="Foreground" Value="{StaticResource CaptionDisabledColor}" />
461+
<Setter Property="Foreground" Value="{StaticResource CaptionDisabledBrush}" />
462462
<Setter Property="TextDecorations" Value="Strikethrough" />
463463
</DataTrigger>
464464
</Style.Triggers>

0 commit comments

Comments
 (0)