Disable the Delete menu item if nothing is selected
This commit is contained in:
parent
08f43f2184
commit
44cb527e73
@ -66,6 +66,7 @@ namespace UniversalEditor.Editors.Executable
|
||||
|
||||
private void mnuContextListViewSections_Opening(object sender, CancelEventArgs e)
|
||||
{
|
||||
mnuContextListViewSectionsDelete.Enabled = (lvSections.SelectedItems.Count > 0);
|
||||
mnuContextListViewSectionsExport.Enabled = (lvSections.SelectedItems.Count > 0);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user