* fix the table on the second tab and added an extra check to prevent a crash in rare situations

This commit is contained in:
Felix Paul Kühne 2006-03-04 11:53:03 +00:00
parent 22073fe6c9
commit 03c546c175
2 changed files with 5 additions and 1 deletions

View File

@ -141,6 +141,10 @@
- (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 );
@ -185,7 +189,7 @@
/* reload the advanced table */
[[VLCInfoTreeItem rootItem] refresh];
[o_outline_view reloadData];
[self updateStatistics: nil];
[o_info_window makeKeyAndOrderFront: sender];