File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -76,8 +76,10 @@ - (void)awakeFromNib
76
76
commitMessageView.repository = self.repository ;
77
77
commitMessageView.delegate = self;
78
78
79
- [commitMessageView setTypingAttributes: [NSDictionary dictionaryWithObject: [NSFont fontWithName: @" Menlo" size: 12.0 ] forKey: NSFontAttributeName ]];
80
-
79
+ NSMutableDictionary *attrs = commitMessageView.typingAttributes .mutableCopy ;
80
+ attrs[NSFontAttributeName ] = [NSFont fontWithName: @" Menlo" size: 12.0 ];
81
+ commitMessageView.typingAttributes = attrs;
82
+
81
83
[unstagedFilesController setFilterPredicate: [NSPredicate predicateWithFormat: @" hasUnstagedChanges == 1" ]];
82
84
[stagedFilesController setFilterPredicate: [NSPredicate predicateWithFormat: @" hasStagedChanges == 1" ]];
83
85
[trackedFilesController setFilterPredicate: [NSPredicate predicateWithFormat: @" status > 0" ]];
You can’t perform that action at this time.
0 commit comments