]> git.sesse.net Git - vlc/commitdiff
* fix the table on the second tab and added an extra check to prevent a crash in...
authorFelix Paul Kühne <fkuehne@videolan.org>
Sat, 4 Mar 2006 11:53:03 +0000 (11:53 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sat, 4 Mar 2006 11:53:03 +0000 (11:53 +0000)
extras/MacOSX/Resources/English.lproj/MainMenu.nib/keyedobjects.nib
modules/gui/macosx/playlistinfo.m

index 6470f1ec85849453ce90be21de6ebb4176c6409c..bbff69cb9d22179f9ccd3f65731f2d8b6715829f 100644 (file)
Binary files a/extras/MacOSX/Resources/English.lproj/MainMenu.nib/keyedobjects.nib and b/extras/MacOSX/Resources/English.lproj/MainMenu.nib/keyedobjects.nib differ
index 8045685c17e769bbb45d94f2db4aca5d8614dd8a..c1ae857d803684e38a9e5149209e30fbb55bad9d 100644 (file)
 
 - (void)initPanel:(id)sender
 {
+    /* check whether our item is valid, because we would crash if not */
+    if(! [self isItemInPlaylist: p_item] )
+        return;
+
     char *psz_temp;
     vlc_mutex_lock( &p_item->input.lock );
 
     /* reload the advanced table */
     [[VLCInfoTreeItem rootItem] refresh];
     [o_outline_view reloadData];
-    
+
     [self updateStatistics: nil];
 
     [o_info_window makeKeyAndOrderFront: sender];