Commit 8de7ac28 authored by David Fuhrmann's avatar David Fuhrmann

macosx: fix main window appearing with a delay of some seconds

close #14361
parent d8792892
......@@ -784,7 +784,10 @@ static VLCMain *_o_sharedMainInstance = nil;
[NSBundle loadNibNamed:@"MainWindow" owner: self];
[o_mainwindow makeKeyAndOrderFront:nil];
// This cannot be called directly here, as the main loop is not running yet so it would have no effect.
// So lets enqueue it into the loop for later execution.
[o_mainwindow performSelector:@selector(makeKeyAndOrderFront:) withObject:nil afterDelay:0];
[[SUUpdater sharedUpdater] setDelegate:self];
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment