diff options
author | Aatos Majava <aatos.majava@protonmail.com> | 2021-06-24 18:42:44 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-25 01:01:37 +0200 |
commit | d50ff2b4220cd342caef03b49d1f73eb26ffcba6 (patch) | |
tree | 3908cb051b5f5e4e38d1b913ab1261059d9ab0ed /Userland/Libraries/LibGUI/Action.cpp | |
parent | 601dc8a128f3b644c50ed475d0c67d4e61847611 (diff) | |
download | serenity-d50ff2b4220cd342caef03b49d1f73eb26ffcba6.zip |
LibGUI: Add alternate shortcut F5 to the "reload" common action
Diffstat (limited to 'Userland/Libraries/LibGUI/Action.cpp')
-rw-r--r-- | Userland/Libraries/LibGUI/Action.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/Action.cpp b/Userland/Libraries/LibGUI/Action.cpp index 7d7e423b3c..6f66ed6055 100644 --- a/Userland/Libraries/LibGUI/Action.cpp +++ b/Userland/Libraries/LibGUI/Action.cpp @@ -141,7 +141,7 @@ NonnullRefPtr<Action> make_go_home_action(Function<void(Action&)> callback, Core NonnullRefPtr<Action> make_reload_action(Function<void(Action&)> callback, Core::Object* parent) { - return Action::create("&Reload", { Mod_Ctrl, Key_R }, Gfx::Bitmap::load_from_file("/res/icons/16x16/reload.png"), move(callback), parent); + return Action::create("&Reload", { Mod_Ctrl, Key_R }, Key_F5, Gfx::Bitmap::load_from_file("/res/icons/16x16/reload.png"), move(callback), parent); } NonnullRefPtr<Action> make_select_all_action(Function<void(Action&)> callback, Core::Object* parent) |