diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index 931d6355f11f..98e8d4b65659 100644 --- a/atom/browser/native_window_mac.mm +++ b/atom/browser/native_window_mac.mm @@ -740,8 +740,9 @@ bool NativeWindowMac::IsFocused() { void NativeWindowMac::Show() { if (is_modal() && parent()) { - [parent()->GetNativeWindow() beginSheet:window_ - completionHandler:^(NSModalResponse) {}]; + if ([window_ sheetParent] == nil) + [parent()->GetNativeWindow() beginSheet:window_ + completionHandler:^(NSModalResponse) {}]; return; }