Skip to content

Commit

Permalink
Merge pull request AvaloniaUI#7954 from AvaloniaUI/fixes/7780-nativem…
Browse files Browse the repository at this point in the history
…enuitemseparator-exception

Fix NativeMenuBar exception.
  • Loading branch information
grokys committed Apr 25, 2022
1 parent bad7e0a commit 76523e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Avalonia.Themes.Fluent/Controls/NativeMenuBar.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
IsVisible="{Binding $parent[TopLevel].(NativeMenu.IsNativeMenuExported), Converter={StaticResource AvaloniaThemesDefaultNativeMenuBarInverseBooleanValueConverter}}"
Items="{Binding $parent[TopLevel].(NativeMenu.Menu).Items}">
<Menu.Styles>
<Style x:DataType="NativeMenuItem" Selector="MenuItem">
<Style x:CompileBindings="False" Selector="MenuItem">
<Setter Property="Header" Value="{Binding Header}"/>
<Setter Property="InputGesture" Value="{Binding Gesture}"/>
<Setter Property="Items" Value="{Binding Menu.Items}"/>
Expand Down

0 comments on commit 76523e0

Please sign in to comment.