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:
parent
8c94373ff7
commit
34b846b11c
1 changed files with 2 additions and 0 deletions
|
@ -6020,6 +6020,8 @@ namespace IDE
|
|||
{
|
||||
sysMenu.mOnMenuItemSelected.Add(new (evt) => ShowRecentFile(recentKind, idx));
|
||||
});
|
||||
|
||||
entry.mMenu.SetDisabled(entry.mMenuItems.Count == 0);
|
||||
}
|
||||
|
||||
public void UpdateRecentFileMenuItems()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue