aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPPreferenceController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPPreferenceController.m')
-rw-r--r--Source/SPPreferenceController.m10
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/SPPreferenceController.m b/Source/SPPreferenceController.m
index 36954bc8..fad1d95b 100644
--- a/Source/SPPreferenceController.m
+++ b/Source/SPPreferenceController.m
@@ -128,14 +128,14 @@
[prefs setObject:[NSArchiver archivedDataWithRootObject:font] forKey:SPGlobalResultTableFont];
- [(SPTablesPreferencePane *)tablesPreferencePane updateDisplayedTableFontName];
+ [tablesPreferencePane updateDisplayedTableFontName];
break;
case SPPrefFontChangeTargetEditor:
font = [[NSFontPanel sharedFontPanel] panelConvertFont:[NSUnarchiver unarchiveObjectWithData:[prefs dataForKey:SPCustomQueryEditorFont]]];
[prefs setObject:[NSArchiver archivedDataWithRootObject:font] forKey:SPCustomQueryEditorFont];
- [(SPEditorPreferencePane *)editorPreferencePane updateDisplayedEditorFontName];
+ [editorPreferencePane updateDisplayedEditorFontName];
break;
}
}
@@ -231,6 +231,12 @@
- (void)dealloc
{
SPClear(preferencePanes);
+ SPClear(generalItem);
+ SPClear(tablesItem);
+ SPClear(notificationsItem);
+ SPClear(editorItem);
+ SPClear(autoUpdateItem);
+ SPClear(networkItem);
[super dealloc];
}