Revision: 15612 http://sourceforge.net/p/skim-app/code/15612 Author: hofman Date: 2025-07-07 09:22:05 +0000 (Mon, 07 Jul 2025) Log Message: ----------- no need to check for skim note, is implicit
Modified Paths: -------------- trunk/SKPDFView.m Modified: trunk/SKPDFView.m =================================================================== --- trunk/SKPDFView.m 2025-07-06 16:57:32 UTC (rev 15611) +++ trunk/SKPDFView.m 2025-07-07 09:22:05 UTC (rev 15612) @@ -2102,11 +2102,10 @@ [item setAlternate:YES]; } - if (([currentAnnotation isSkimNote] && [currentAnnotation isMovable]) || [[self currentSelection] hasCharacters]) { - if ([currentAnnotation isSkimNote] && [currentAnnotation isMovable]) - [menu insertItemWithTitle:NSLocalizedString(@"Cut", @"Menu item title") action:@selector(cut:) keyEquivalent:@"" atIndex:0]; + if ([currentAnnotation isMovable]) + [menu insertItemWithTitle:NSLocalizedString(@"Cut", @"Menu item title") action:@selector(cut:) keyEquivalent:@"" atIndex:0]; + if (([currentAnnotation isMovable]) || [[self currentSelection] hasCharacters]) [menu insertItemWithTitle:NSLocalizedString(@"Copy", @"Menu item title") action:@selector(copy:) keyEquivalent:@"" atIndex:0]; - } if ([[menu itemAtIndex:0] isSeparatorItem]) [menu removeItemAtIndex:0]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit