Commit cbccd729 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

macosx playlist: fix an unreachable update of the Media Info panel

parent f193adfb
...@@ -525,6 +525,9 @@ ...@@ -525,6 +525,9 @@
/* update the state of our Reveal-in-Finder menu items */ /* update the state of our Reveal-in-Finder menu items */
NSMutableString *o_mrl; NSMutableString *o_mrl;
char *psz_uri = input_item_GetURI( p_item->p_input ); char *psz_uri = input_item_GetURI( p_item->p_input );
[o_mi_revealInFinder setEnabled: NO];
[o_mm_mi_revealInFinder setEnabled: NO];
if( psz_uri ) if( psz_uri )
{ {
o_mrl = [NSMutableString stringWithUTF8String: psz_uri]; o_mrl = [NSMutableString stringWithUTF8String: psz_uri];
...@@ -538,11 +541,8 @@ ...@@ -538,11 +541,8 @@
{ {
[o_mi_revealInFinder setEnabled: YES]; [o_mi_revealInFinder setEnabled: YES];
[o_mm_mi_revealInFinder setEnabled: YES]; [o_mm_mi_revealInFinder setEnabled: YES];
return;
} }
} }
[o_mi_revealInFinder setEnabled: NO];
[o_mm_mi_revealInFinder setEnabled: NO];
if( [[VLCMain sharedInstance] isPlaylistCollapsed] == NO ) if( [[VLCMain sharedInstance] isPlaylistCollapsed] == NO )
{ {
......
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