From d50ff2b4220cd342caef03b49d1f73eb26ffcba6 Mon Sep 17 00:00:00 2001 From: Aatos Majava Date: Thu, 24 Jun 2021 18:42:44 +0300 Subject: LibGUI: Add alternate shortcut F5 to the "reload" common action --- Userland/Libraries/LibGUI/Action.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibGUI/Action.cpp') 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 make_go_home_action(Function callback, Core NonnullRefPtr make_reload_action(Function 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 make_select_all_action(Function callback, Core::Object* parent) -- cgit v1.2.3