Closing devtools window means it is not visible.
This commit is contained in:
parent
8180075944
commit
e71927c5da
1 changed files with 1 additions and 0 deletions
|
@ -232,6 +232,7 @@ void SetActive(content::WebContents* web_contents, bool active) {
|
||||||
#pragma mark - NSWindowDelegate
|
#pragma mark - NSWindowDelegate
|
||||||
|
|
||||||
- (BOOL)windowShouldClose:(id)sender {
|
- (BOOL)windowShouldClose:(id)sender {
|
||||||
|
_private->visible = NO;
|
||||||
[_private->window orderOut:nil];
|
[_private->window orderOut:nil];
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue