Skip to content

Commit

Permalink
Merge pull request #6616 from 0x90d/0x90d-patch-1
Browse files Browse the repository at this point in the history
Fix opening submenu popup for menus without subitems
  • Loading branch information
maxkatz6 authored and grokys committed Sep 29, 2021
1 parent 95cb704 commit 2f66f8a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,8 @@ protected internal virtual void PointerEnter(object sender, PointerEventArgs e)
{
item.Parent.SelectedItem.Close();
SelectItemAndAncestors(item);
Open(item, false);
if (item.HasSubMenu)
Open(item, false);
}
else
{
Expand Down

0 comments on commit 2f66f8a

Please sign in to comment.