Skip to content

Commit

Permalink
Merge pull request #6632 from Takoooooo/fix-opening-disabled-menu-wit…
Browse files Browse the repository at this point in the history
…h-accelerator-key

Fix opening disabled menu with accelerator key
  • Loading branch information
maxkatz6 authored Sep 28, 2021
2 parents b63cb51 + 5142ad0 commit 13e76a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ protected internal virtual void AccessKeyPressed(object sender, RoutedEventArgs
return;
}

if (item.HasSubMenu)
if (item.HasSubMenu && item.IsEffectivelyEnabled)
{
Open(item, true);
}
Expand Down

0 comments on commit 13e76a9

Please sign in to comment.