Revision: 14715
          http://sourceforge.net/p/skim-app/code/14715
Author:   hofman
Date:     2024-11-17 23:27:14 +0000 (Sun, 17 Nov 2024)
Log Message:
-----------
Don't do default open when opening a URL

Modified Paths:
--------------
    trunk/SKApplicationController.m

Modified: trunk/SKApplicationController.m
===================================================================
--- trunk/SKApplicationController.m     2024-11-17 22:33:23 UTC (rev 14714)
+++ trunk/SKApplicationController.m     2024-11-17 23:27:14 UTC (rev 14715)
@@ -257,6 +257,7 @@
 }
 
 - (void)application:(NSApplication *)sender openURLs:(NSArray *)urls {
+    didCheckReopen = YES;
     for (NSURL *theURL in urls) {
         if ([theURL isFileURL]) {
             [[NSDocumentController sharedDocumentController] 
openDocumentWithContentsOfURL:theURL display:YES completionHandler:^(NSDocument 
*document, BOOL documentWasAlreadyOpen, NSError *error) {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to