[vlc-commits] macosx: renderer: fix NoneItem never disabled

Thomas Guillem git at videolan.org
Tue Feb 6 18:37:02 CET 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Feb  6 16:33:02 2018 +0100| [894880cf104c5fc282ba11b312906e4974f9d497] | committer: Thomas Guillem

macosx: renderer: fix NoneItem never disabled

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=894880cf104c5fc282ba11b312906e4974f9d497
---

 modules/gui/macosx/VLCRendererMenuController.m | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/macosx/VLCRendererMenuController.m b/modules/gui/macosx/VLCRendererMenuController.m
index 16514122f6..2650651017 100644
--- a/modules/gui/macosx/VLCRendererMenuController.m
+++ b/modules/gui/macosx/VLCRendererMenuController.m
@@ -153,6 +153,8 @@
 
 - (void)selectRenderer:(NSMenuItem *)sender
 {
+    [_rendererNoneItem setState:NSOffState];
+
     [_selectedItem setState:NSOffState];
     [sender setState:NSOnState];
     _selectedItem = sender;



More information about the vlc-commits mailing list