Revision: 13655
http://sourceforge.net/p/skim-app/code/13655
Author: hofman
Date: 2023-09-10 17:07:41 +0000 (Sun, 10 Sep 2023)
Log Message:
-----------
don't select anchored notes when editing from table and selecting is not allowed
Modified Paths:
--------------
trunk/SKMainWindowController_UI.m
Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m 2023-09-10 17:00:25 UTC (rev 13654)
+++ trunk/SKMainWindowController_UI.m 2023-09-10 17:07:41 UTC (rev 13655)
@@ -1067,7 +1067,8 @@
- (void)editNoteTextFromTable:(id)sender {
PDFAnnotation *annotation = [sender representedObject];
[pdfView scrollAnnotationToVisible:annotation];
- [pdfView setCurrentAnnotation:annotation];
+ if ([pdfView canAddNotes])
+ [pdfView setCurrentAnnotation:annotation];
[self showNote:annotation];
SKNoteWindowController *noteController = (SKNoteWindowController *)[self
windowControllerForNote:annotation];
[[noteController window] makeFirstResponder:[noteController textView]];
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