Browse Source

Update DefaultMenuInteractionHandler.cs

pull/6616/head
0x90d 5 years ago
committed by GitHub
parent
commit
20e970f335
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/Avalonia.Controls/Platform/DefaultMenuInteractionHandler.cs

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

@ -303,7 +303,8 @@ namespace Avalonia.Controls.Platform
{
item.Parent.SelectedItem.Close();
SelectItemAndAncestors(item);
Open(item, false);
if (item.HasSubMenu)
Open(item, false);
}
else
{

Loading…
Cancel
Save