disable developer menu for mame cheat sheet

This commit is contained in:
Kelvin Sherlock 2021-02-24 17:38:05 -05:00
parent 4676c7c1ba
commit 5d5c477bee
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@
[_webView setHidden: YES];
NSBundle *bundle = [NSBundle mainBundle];
NSURL *url = [bundle URLForResource: @"CheatSheet" withExtension: @"html"];
[[[_webView configuration] preferences] setValue: @YES forKey: @"developerExtrasEnabled"];
//[[[_webView configuration] preferences] setValue: @YES forKey: @"developerExtrasEnabled"];
[_webView loadFileURL: url allowingReadAccessToURL: url];
}