diff --git a/src/_macosx.m b/src/_macosx.m index 55e02b8f5f88..942c3af9b623 100644 --- a/src/_macosx.m +++ b/src/_macosx.m @@ -5743,6 +5743,9 @@ - (int)index if(nwin > 0) { [NSApp activateIgnoringOtherApps: YES]; + for (NSWindow *window in [NSApp windows]) { + [window orderFront:nil]; + } [NSApp run]; } Py_INCREF(Py_None);