mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 09:52:31 +00:00
LibGUI: Let's say that Alt+Home is the "go home" keyboard shortcut
This commit is contained in:
parent
9bb0374d7d
commit
75b5638f1c
Notes:
sideshowbarker
2024-07-19 11:45:02 +09:00
Author: https://github.com/awesomekling
Commit: 75b5638f1c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue