diff --git a/ChangeLog b/ChangeLog index 94e0e2b..7fd09ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2020-09-08 Riccardo Mottola + + * Framework/PCProjectLauncher.m + Access Preferences through its protocol, since the launcher is in the + Framework. + 2020-04-16 Riccardo Mottola * Modules/Editors/ProjectCenter/PCEditorView.m:(drawRect:) diff --git a/Framework/PCProjectLauncher.m b/Framework/PCProjectLauncher.m index ba7fe91..3bc377f 100644 --- a/Framework/PCProjectLauncher.m +++ b/Framework/PCProjectLauncher.m @@ -33,11 +33,12 @@ #import #import #import +#import + #import "Modules/Preferences/Misc/PCMiscPrefs.h" #import "Modules/Preferences/EditorFSC/PCEditorFSCPrefs.h" -#import "PCPrefController.h" #ifndef NOTIFICATION_CENTER #define NOTIFICATION_CENTER [NSNotificationCenter defaultCenter] @@ -148,7 +149,7 @@ enum { if ((self = [super init])) { - PCPrefController *prefs = [PCPrefController sharedPCPreferences]; + id prefs = [[project projectManager] prefController]; NSFont *font; NSString *fontName; CGFloat fontSize;