]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/playlist.m
* update the info panel when switching the currently played p_item
[vlc] / modules / gui / macosx / playlist.m
index 162ebdb4db5c3b979ca55a132aa211577dce0115..91137e387c697604693afa82587cc1578ca25946 100644 (file)
@@ -47,6 +47,7 @@
 #include "intf.h"
 #import "wizard.h"
 #import "bookmarks.h"
+#import "playlistinfo.h"
 #include "playlist.h"
 #include "controls.h"
 #include "vlc_osd.h"
@@ -617,6 +618,9 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
     [o_outline_view scrollRowToVisible: i_row];
 
     vlc_object_release(p_playlist);
+
+    /* update our info-panel to reflect the new item */
+    [[[VLCMain sharedInstance] getInfo] updatePanel];
 }
 
 /* Check if p_item is a child of p_node recursively. We need to check the item