]> git.sesse.net Git - vlc/commitdiff
macosx: Make sure we update the information panel, if the playlist changes.
authorFelix Paul Kühne <fkuehne@videolan.org>
Thu, 17 Jul 2008 11:43:22 +0000 (13:43 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Thu, 17 Jul 2008 17:58:05 +0000 (19:58 +0200)
We shouldn't think that we are the only one who can change the pl ;-)

modules/gui/macosx/playlist.m

index 232aa4b8f03d945633815fedda81b3b4e25bc027..974a4a170e458e33728c5c63379cb54d7781d6ff 100644 (file)
             [o_status_field setStringValue: _NS("1 item")];
     }
     vlc_object_release( p_playlist );
+
+    [self outlineViewSelectionDidChange: nil];
 }
 
 - (void)playModeUpdated
 
 /* Check if p_item is a child of p_node recursively. We need to check the item
    existence first since OSX sometimes tries to redraw items that have been
-   deleted. We don't do it when not required  since this verification takes
+   deleted. We don't do it when not required since this verification takes
    quite a long time on big playlists (yes, pretty hacky). */
 
 - (BOOL)isItem: (playlist_item_t *)p_item
             }
         }
     }
-
 }
 
 - (IBAction)savePlaylist:(id)sender