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

Thomas Guillem git at videolan.org
Tue Feb 6 19:33:20 CET 2018


vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Feb  6 16:33:02 2018 +0100| [8afa783254fc0cbd54492f2a6b3c2b6c4040b700] | committer: Jean-Baptiste Kempf

macosx: renderer: fix NoneItem never disabled

(cherry picked from commit 894880cf104c5fc282ba11b312906e4974f9d497)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=8afa783254fc0cbd54492f2a6b3c2b6c4040b700
---

 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