mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix devtools again
This commit is contained in:
committed by
Cheng Zhao
parent
26daffea9c
commit
573f664899
@@ -93,9 +93,7 @@
|
||||
} else {
|
||||
if (visible) {
|
||||
[devtools_window_ makeKeyAndOrderFront:nil];
|
||||
[devtools_window_ setIsVisible:YES];
|
||||
} else {
|
||||
[devtools_window_ setIsVisible:NO];
|
||||
[devtools_window_ setDelegate:nil];
|
||||
[devtools_window_ close];
|
||||
devtools_window_.reset();
|
||||
|
||||
Reference in New Issue
Block a user