From edf07a8fbcf4aeb7397139ee68adf59392d53db3 Mon Sep 17 00:00:00 2001 From: cacaodev Date: Sat, 17 Dec 2011 15:28:41 +0100 Subject: [PATCH] CPRuleEditor: In -initWithFrame: the _CPRuleEditorLocalizer was not initialized by default. --- AppKit/CPRuleEditor/CPRuleEditor.j | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AppKit/CPRuleEditor/CPRuleEditor.j b/AppKit/CPRuleEditor/CPRuleEditor.j index 930ab377b..3fef214f9 100644 --- a/AppKit/CPRuleEditor/CPRuleEditor.j +++ b/AppKit/CPRuleEditor/CPRuleEditor.j @@ -150,7 +150,8 @@ var itemsContext = "items", _editable = YES; _allowsEmptyCompoundRows = NO; _disallowEmpty = NO; - + + [self setFormattingStringsFilename:nil]; [self setCriteriaKeyPath:@"criteria"]; [self setSubrowsKeyPath:@"subrows"]; [self setRowTypeKeyPath:@"rowType"];