Commit 9b56e18b 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)

parent fff36451
......@@ -1529,9 +1529,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