Revision: 14820
http://sourceforge.net/p/skim-app/code/14820
Author: hofman
Date: 2024-12-11 10:19:28 +0000 (Wed, 11 Dec 2024)
Log Message:
-----------
invert condition
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2024-12-11 10:17:15 UTC (rev 14819)
+++ trunk/SKMainWindowController.m 2024-12-11 10:19:28 UTC (rev 14820)
@@ -2685,7 +2685,7 @@
return;
// Update the UI, we should always do that unless the value did
not really change or we're just changing the mod date or user name
- if ([keyPath isEqualToString:SKNPDFAnnotationModificationDateKey]
== NO && [keyPath isEqualToString:SKNPDFAnnotationUserNameKey] == NO &&
[keyPath isEqualToString:SKNPDFAnnotationTextKey] == NO && ([note isText] == NO
|| [keyPath isEqualToString:SKNPDFAnnotationStringKey] == NO)) {
+ if ([keyPath isEqualToString:SKNPDFAnnotationModificationDateKey]
== NO && [keyPath isEqualToString:SKNPDFAnnotationUserNameKey] == NO &&
[keyPath isEqualToString:SKNPDFAnnotationTextKey] == NO && ([note isText] ||
[keyPath isEqualToString:SKNPDFAnnotationStringKey] == NO)) {
PDFPage *page = [note page];
[self updateThumbnailAtPageIndex:[note pageIndex]];
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