Cocoa Port: Fix a bug where the troubleshooting form text would not switch to Dark Mode appearance.
This commit is contained in:
parent
864d419513
commit
42da2645c1
File diff suppressed because it is too large
Load Diff
|
@ -184,7 +184,11 @@
|
||||||
|
|
||||||
finalFormTextStr = [finalFormTextStr stringByAppendingString:@"\n\n[ END DESMUME TROUBLESHOOTING INFORMATION ]"];
|
finalFormTextStr = [finalFormTextStr stringByAppendingString:@"\n\n[ END DESMUME TROUBLESHOOTING INFORMATION ]"];
|
||||||
|
|
||||||
[bindings setValue:finalFormTextStr forKey:@"finalFormText"];
|
NSDictionary *formTextAttr = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||||
|
[NSColor controlTextColor], NSForegroundColorAttributeName,
|
||||||
|
nil];
|
||||||
|
|
||||||
|
[bindings setValue:[[[NSAttributedString alloc] initWithString:finalFormTextStr attributes:formTextAttr] autorelease] forKey:@"finalFormText"];
|
||||||
|
|
||||||
// Remember the current form and switch the window view.
|
// Remember the current form and switch the window view.
|
||||||
currentForm = [window contentView];
|
currentForm = [window contentView];
|
||||||
|
|
Loading…
Reference in New Issue