Browse Source

Merge pull request #6632 from Takoooooo/fix-opening-disabled-menu-with-accelerator-key

Fix opening disabled menu with accelerator key
pull/6657/head
Max Katz 5 years ago
committed by GitHub
parent
commit
13e76a92e7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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.IsEffectivelyEnabled)
{
Open(item, true);
}

Loading…
Cancel
Save