1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Disable recent menu item when there are no items

This commit is contained in:
Brian Fiete 2020-06-05 16:15:45 -07:00
parent 8c94373ff7
commit 34b846b11c

View file

@ -6020,6 +6020,8 @@ namespace IDE
{
sysMenu.mOnMenuItemSelected.Add(new (evt) => ShowRecentFile(recentKind, idx));
});
entry.mMenu.SetDisabled(entry.mMenuItems.Count == 0);
}
public void UpdateRecentFileMenuItems()