Commit d707f8f3 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: set the represented URL in the detached vout window correctly (close #6836)

(cherry picked from commit 9b56e18b3a577cb0f6615b355035f0f23e69b692)
parent ce58247d
......@@ -1303,9 +1303,13 @@ static VLCMainWindow *_o_sharedInstance = nil;
NSURL * o_url = [NSURL URLWithString: [NSString stringWithUTF8String: uri]];
if ([o_url isFileURL])
{
[self setRepresentedURL: o_url];
else
[o_detached_video_window setRepresentedURL: o_url];
} else {
[self setRepresentedURL: nil];
[o_detached_video_window setRepresentedURL: nil];
}
free( uri );
if ([aString isEqualToString:@""])
......
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