Commit 03c546c1 authored by Felix Paul Kühne's avatar Felix Paul Kühne

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

parent 22073fe6
...@@ -141,6 +141,10 @@ ...@@ -141,6 +141,10 @@
- (void)initPanel:(id)sender - (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; char *psz_temp;
vlc_mutex_lock( &p_item->input.lock ); vlc_mutex_lock( &p_item->input.lock );
...@@ -185,7 +189,7 @@ ...@@ -185,7 +189,7 @@
/* reload the advanced table */ /* reload the advanced table */
[[VLCInfoTreeItem rootItem] refresh]; [[VLCInfoTreeItem rootItem] refresh];
[o_outline_view reloadData]; [o_outline_view reloadData];
[self updateStatistics: nil]; [self updateStatistics: nil];
[o_info_window makeKeyAndOrderFront: sender]; [o_info_window makeKeyAndOrderFront: sender];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment