Commit 04b45e8f authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fix conditional crash when setting the MRL field

parent 227f5875
......@@ -338,7 +338,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
o_mrl = newMRL;
[o_mrl retain];
[o_mrl_fld setStringValue: o_mrl];
[o_mrl_fld performSelectorOnMainThread:@selector(setStringValue:) withObject:o_mrl waitUntilDone:NO];
if ([o_mrl length] > 0)
[o_btn_ok setEnabled: YES];
else
......
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