We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c1d214e + c832b78 commit 17b9325Copy full SHA for 17b9325
1 file changed
src/MacVim/MMVimController.m
@@ -1523,10 +1523,15 @@ - (void)handleShowDialog:(NSDictionary *)attr
1523
}
1524
1525
1526
+#if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_10
1527
+ [alert beginSheetModalForWindow:[windowController window]
1528
+ completionHandler: ^(NSModalResponse code) { [self alertDidEnd:alert code:code context:NULL]; }];
1529
+#else
1530
[alert beginSheetModalForWindow:[windowController window]
1531
modalDelegate:self
1532
didEndSelector:@selector(alertDidEnd:code:context:)
1533
contextInfo:NULL];
1534
+#endif
1535
1536
[alert release];
1537
0 commit comments