don't automatically show window when devtools is opened on mac

This commit is contained in:
Heilig Benedek 2017-09-10 23:11:42 +02:00 committed by Cheng Zhao
parent e39aacb30e
commit 45d16d5add

View file

@ -94,7 +94,6 @@
if (visible) { if (visible) {
[devtools_window_ makeKeyAndOrderFront:nil]; [devtools_window_ makeKeyAndOrderFront:nil];
} else { } else {
[[self window] makeKeyAndOrderFront:nil];
[devtools_window_ setDelegate:nil]; [devtools_window_ setDelegate:nil];
[devtools_window_ close]; [devtools_window_ close];
devtools_window_.reset(); devtools_window_.reset();