Revision: 12854
http://sourceforge.net/p/skim-app/code/12854
Author: hofman
Date: 2022-04-23 17:30:54 +0000 (Sat, 23 Apr 2022)
Log Message:
-----------
update pref to use settings from pdf
Modified Paths:
--------------
trunk/SKGeneralPreferences.m
Modified: trunk/SKGeneralPreferences.m
===================================================================
--- trunk/SKGeneralPreferences.m 2022-04-23 17:28:57 UTC (rev 12853)
+++ trunk/SKGeneralPreferences.m 2022-04-23 17:30:54 UTC (rev 12854)
@@ -107,8 +107,11 @@
SKViewSettingsController *viewSettings = [[[SKViewSettingsController
alloc] initWithSettings:settings defaultSettings:defaultSettings] autorelease];
[viewSettings beginSheetModalForWindow:[[self view] window]
completionHandler:^(NSInteger result){
- if (result == NSModalResponseOK)
+ if (result == NSModalResponseOK) {
[sud setObject:[viewSettings settings] forKey:key];
+ if (fullScreen == NO)
+ [sud setBool:[viewSettings useSettingsFromPDF]
forKey:SKUseSettingsFromPDFKey];
+ }
}];
}
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