Commit 8ef447a4 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed crash due to race condition on launch

The main window may be asked to update its content prior to VLCFSPanel being fully initialized
parent 48fcb08c
......@@ -698,7 +698,8 @@ static VLCMainWindow *_o_sharedInstance = nil;
}
[self updateTimeSlider];
[o_fspanel setSeekable: b_seekable];
if ([o_fspanel respondsToSelector:@selector(setSeekable:)])
[o_fspanel setSeekable: b_seekable];
PL_LOCK;
if ([[[VLCMain sharedInstance] playlist] currentPlaylistRoot] != p_playlist->p_local_category || p_playlist->p_local_category->i_children > 0)
......
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