mirror of
https://github.com/ksherlock/ample.git
synced 2024-06-08 02:29:37 +00:00
disable developer menu for mame cheat sheet
This commit is contained in:
parent
4676c7c1ba
commit
5d5c477bee
|
@ -30,7 +30,7 @@
|
||||||
[_webView setHidden: YES];
|
[_webView setHidden: YES];
|
||||||
NSBundle *bundle = [NSBundle mainBundle];
|
NSBundle *bundle = [NSBundle mainBundle];
|
||||||
NSURL *url = [bundle URLForResource: @"CheatSheet" withExtension: @"html"];
|
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];
|
[_webView loadFileURL: url allowingReadAccessToURL: url];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user