UI: Add Cmd+U as a shortcut for "View Source" to AppKit

This mirrors the shortcut we have in our Qt UI.
This commit is contained in:
Jelle Raaijmakers 2025-03-25 20:29:52 +00:00
parent a9ef5b4924
commit 99bd721e7e

View file

@ -623,7 +623,7 @@
[submenu addItem:[[NSMenuItem alloc] initWithTitle:@"View Source"
action:@selector(viewSource:)
keyEquivalent:@""]];
keyEquivalent:@"u"]];
self.toggle_devtools_menu_item = [[NSMenuItem alloc] initWithTitle:@"Enable DevTools"
action:@selector(toggleDevToolsEnabled:)