Revision: 16463
          http://sourceforge.net/p/skim-app/code/16463
Author:   hofman
Date:     2026-09-12 21:31:17 +0000 (Sat, 12 Sep 2026)
Log Message:
-----------
remove tabs from bookmark setup

Modified Paths:
--------------
    trunk/SKBookmark.m

Modified: trunk/SKBookmark.m
===================================================================
--- trunk/SKBookmark.m  2026-09-12 21:24:56 UTC (rev 16462)
+++ trunk/SKBookmark.m  2026-09-12 21:31:17 UTC (rev 16463)
@@ -582,11 +582,17 @@
 }
 
 - (NSDictionary *)setup {
+    NSMutableDictionary *dict = [NSMutableDictionary 
dictionaryWithDictionary:setup];
     if (pageIndex != NSNotFound) {
-        NSMutableDictionary *dict = [NSMutableDictionary 
dictionaryWithDictionary:setup];
         [dict setObject:[NSNumber numberWithUnsignedInteger:pageIndex] 
forKey:PAGEINDEX_KEY];
         if ([[setup objectForKey:PAGEINDEX_KEY] unsignedIntegerValue] != 
pageIndex)
             [dict removeObjectForKey:SCROLLPOINT_KEY];
+        [dict removeObjectForKey:SKDocumentSetupTabsKey];
+        return dict;
+    } else if ([setup objectForKey:SKDocumentSetupTabsKey]) {
+        NSMutableDictionary *dict = [NSMutableDictionary 
dictionaryWithDictionary:setup];
+        [dict removeObjectForKey:SKDocumentSetupTabsKey];
+        return dict;
     }
     return setup;
 }

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

Reply via email to