1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:47:44 +00:00

Applications: Add new keyboard shortcuts & update few existing ones

This commit is contained in:
Jami Kettunen 2020-01-01 01:55:36 +02:00 committed by Andreas Kling
parent 7f15604f72
commit cece0d230d
7 changed files with 18 additions and 18 deletions

View file

@ -156,7 +156,7 @@ int main(int argc, char** argv)
ASSERT_NOT_REACHED();
}
}));
inspect_menu->add_action(GAction::create("Inspect DOM tree", [&](auto&) {
inspect_menu->add_action(GAction::create("Inspect DOM tree", { Mod_None, Key_F12 }, [&](auto&) {
if (!dom_inspector_window) {
dom_inspector_window = GWindow::construct();
dom_inspector_window->set_rect(100, 100, 300, 500);