OCD.
This commit is contained in:
1 parent
020ba73192
commit
9b70bf6353
2 files changed
+6
-2
No files matched your search
@@ -29,10 +29,12 @@ extern NSString *libraryPath;
|
||||
|
||||
- (void)windowControllerDidLoadNib:(NSWindowController *) aController
|
||||
{
|
||||
if ([[NSUserDefaults standardUserDefaults] valueForKey:@"LogLevel"])
|
||||
[logLevelButton selectItemWithTag:[[NSUserDefaults standardUserDefaults] integerForKey:@"LogLevel"]];
|
||||
[super windowControllerDidLoadNib:aController];
|
||||
|
||||
if ([[NSUserDefaults standardUserDefaults] valueForKey:@"LogLevel"]) {
|
||||
[logLevelButton selectItemWithTag:[[NSUserDefaults standardUserDefaults] integerForKey:@"LogLevel"]];
|
||||
}
|
||||
|
||||
[self _resetTextView];
|
||||
NSAttributedString *attributedString = [[NSAttributedString alloc] initWithString:result];
|
||||
[textView.textStorage appendAttributedString:attributedString];
|
||||
|
||||
Reference in new issue
Block a user