mirror of
https://github.com/videolan/vlc.git
synced 2024-12-12 03:06:13 +08:00
* fix the table on the second tab and added an extra check to prevent a crash in rare situations
This commit is contained in:
parent
22073fe6c9
commit
03c546c175
Binary file not shown.
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user