aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPEditSheetTextView.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPEditSheetTextView.m')
-rw-r--r--Source/SPEditSheetTextView.m13
1 files changed, 10 insertions, 3 deletions
diff --git a/Source/SPEditSheetTextView.m b/Source/SPEditSheetTextView.m
index bd0c5a88..a333a850 100644
--- a/Source/SPEditSheetTextView.m
+++ b/Source/SPEditSheetTextView.m
@@ -1,5 +1,5 @@
//
-// $Id: SPTextViewAdditions.m 866 2009-06-15 16:05:54Z bibiko $
+// $Id$
//
// SPEditSheetTextView.m
// sequel-pro
@@ -28,6 +28,15 @@
@implementation SPEditSheetTextView
+- (id)init
+{
+ if(self = [super init])
+ {
+ ;
+ }
+ return self;
+}
+
- (IBAction)undo:(id)sender
{
textWasChanged = NO;
@@ -340,8 +349,6 @@
{
if([[[[self delegate] class] description] isEqualToString:@"SPFieldEditorController"])
[[NSUserDefaults standardUserDefaults] setObject:[NSArchiver archivedDataWithRootObject:[self font]] forKey:@"FieldEditorSheetFont"];
- else if([[[[self delegate] class] description] isEqualToString:@"SPBundleEditorController"])
- [[NSUserDefaults standardUserDefaults] setObject:[NSArchiver archivedDataWithRootObject:[self font]] forKey:@"BundleEditorFont"];
}
// Action receiver for a font change in the font panel