Revision: 13869
http://sourceforge.net/p/skim-app/code/13869
Author: hofman
Date: 2023-12-10 09:24:04 +0000 (Sun, 10 Dec 2023)
Log Message:
-----------
pass document to invocation when callback is called
Modified Paths:
--------------
trunk/SKNotesDocument.m
Modified: trunk/SKNotesDocument.m
===================================================================
--- trunk/SKNotesDocument.m 2023-12-09 18:03:45 UTC (rev 13868)
+++ trunk/SKNotesDocument.m 2023-12-10 09:24:04 UTC (rev 13869)
@@ -242,6 +242,7 @@
ndFlags.exportUsingPanel = NO;
NSInvocation *invocation = [(NSInvocation *)contextInfo autorelease];
if (invocation) {
+ [invocation setArgument:&doc atIndex:2];
[invocation setArgument:&didSave atIndex:3];
[invocation invoke];
}
@@ -251,7 +252,6 @@
// Override so we can determine if this is a save, saveAs or export
operation, so we can prepare the correct accessory view
if (delegate && didSaveSelector) {
NSInvocation *invocation = [NSInvocation invocationWithTarget:delegate
selector:didSaveSelector];
- [invocation setArgument:&self atIndex:2];
[invocation setArgument:&contextInfo atIndex:4];
contextInfo = [invocation retain];
} else {
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