Commit 23247a85 authored by David Fuhrmann's avatar David Fuhrmann

macosx: disable extensions submenu when they are no items to display

parent 07e72e56
...@@ -598,6 +598,7 @@ static VLCMainMenu *_o_sharedInstance = nil; ...@@ -598,6 +598,7 @@ static VLCMainMenu *_o_sharedInstance = nil;
/* Let the ExtensionsManager itself build the menu */ /* Let the ExtensionsManager itself build the menu */
[o_extMgr buildMenu:o_mu_extensions]; [o_extMgr buildMenu:o_mu_extensions];
[o_mi_extensions setEnabled: ( [o_mu_extensions numberOfItems] > 0 )];
} }
#pragma mark - #pragma mark -
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment