Browse Source

fix

pull/6632/head
Takoooooo 5 years ago
parent
commit
a13e9c1c1c
  1. 2
      src/Avalonia.Controls/Platform/DefaultMenuInteractionHandler.cs

2
src/Avalonia.Controls/Platform/DefaultMenuInteractionHandler.cs

@ -275,7 +275,7 @@ namespace Avalonia.Controls.Platform
return;
}
if (item.HasSubMenu)
if (item.HasSubMenu && item.IsEnabled)
{
Open(item, true);
}

Loading…
Cancel
Save