diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-10-08 21:45:29 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-10-08 21:45:29 +0200 |
commit | 75b5638f1c673bac0fb2d9f0c5696cf074e6c07c (patch) | |
tree | 5a211fce3627b6a0446afd495dad2d5b22f0cb09 /Libraries | |
parent | 9bb0374d7de30817dff619947fab8f2b38344876 (diff) | |
download | serenity-75b5638f1c673bac0fb2d9f0c5696cf074e6c07c.zip |
LibGUI: Let's say that Alt+Home is the "go home" keyboard shortcut
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibGUI/GAction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/GAction.cpp b/Libraries/LibGUI/GAction.cpp index 451da3ab7f..a8ba924488 100644 --- a/Libraries/LibGUI/GAction.cpp +++ b/Libraries/LibGUI/GAction.cpp @@ -73,7 +73,7 @@ NonnullRefPtr<GAction> make_go_forward_action(Function<void(GAction&)> callback, NonnullRefPtr<GAction> make_go_home_action(Function<void(GAction&)> callback, GWidget* widget) { - return GAction::create("Go home", GraphicsBitmap::load_from_file("/res/icons/16x16/go-home.png"), move(callback), widget); + return GAction::create("Go home", { Mod_Alt, Key_Home }, GraphicsBitmap::load_from_file("/res/icons/16x16/go-home.png"), move(callback), widget); } NonnullRefPtr<GAction> make_reload_action(Function<void(GAction&)> callback, GWidget* widget) |