mirror of
https://github.com/electron/electron.git
synced 2026-01-28 16:58:21 -05:00
Merge pull request #56 from brightray/detached-devtools-quirks
Closing detached window should mark devtools as not visible
This commit is contained in:
@@ -232,6 +232,7 @@ void SetActive(content::WebContents* web_contents, bool active) {
|
||||
#pragma mark - NSWindowDelegate
|
||||
|
||||
- (BOOL)windowShouldClose:(id)sender {
|
||||
_private->visible = NO;
|
||||
[_private->window orderOut:nil];
|
||||
return NO;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user