Revision: 14593
http://sourceforge.net/p/skim-app/code/14593
Author: hofman
Date: 2024-10-27 16:38:38 +0000 (Sun, 27 Oct 2024)
Log Message:
-----------
Clear drag pasteboad for table view at end of drag to avoid hanging file
promises that may lose their delegate
Modified Paths:
--------------
trunk/SKTableView.m
Modified: trunk/SKTableView.m
===================================================================
--- trunk/SKTableView.m 2024-10-27 15:41:35 UTC (rev 14592)
+++ trunk/SKTableView.m 2024-10-27 16:38:38 UTC (rev 14593)
@@ -274,6 +274,11 @@
[self enumerateAvailableRowViewsUsingBlock:^(NSTableRowView *rowView,
NSInteger row){ [rowView setEmphasized:NO]; }];
}
+- (void)draggingSession:(NSDraggingSession *)session
endedAtPoint:(NSPoint)screenPoint operation:(NSDragOperation)operation {
+ if ([[SKTableView superclass] instancesRespondToSelector:_cmd])
+ [super draggingSession:session endedAtPoint:screenPoint
operation:operation];
+ [[session draggingPasteboard] clearContents];
+}
#pragma mark Tracking
- (BOOL)hasRowImageToolTips {
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