Skip to content

Commit

Permalink
Force modal to front
Browse files Browse the repository at this point in the history
  • Loading branch information
williameveretteggplant authored Aug 7, 2024
1 parent 4f9889b commit 1fd80da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/NSApplication.m
Original file line number Diff line number Diff line change
Expand Up @@ -1785,6 +1785,7 @@ - (NSInteger) runModalForWindow: (NSWindow*)theWindow
/*
* Try to handle events for this session, discarding others.
*/
[theSession->window orderFrontRegardless];
code = [self runModalSession: theSession];
if (code == NSRunContinuesResponse)
{
Expand Down

0 comments on commit 1fd80da

Please sign in to comment.