summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-10-08 21:45:29 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-10-08 21:45:29 +0200
commit75b5638f1c673bac0fb2d9f0c5696cf074e6c07c (patch)
tree5a211fce3627b6a0446afd495dad2d5b22f0cb09 /Libraries
parent9bb0374d7de30817dff619947fab8f2b38344876 (diff)
downloadserenity-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.cpp2
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)