diff options
author | Aatos Majava <aatos.majava@protonmail.com> | 2022-02-12 14:00:17 +0200 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2022-02-12 09:06:23 -0500 |
commit | c23d25d1dee4b34379282fe2aeb60bc6856aeb73 (patch) | |
tree | 700d72e6695e4f4bc1a61b8dcf36b391d74fa7a7 /Userland/Applications/FileManager | |
parent | 28f0193d9b1163e4729059bc4f7ef30cbd1115d2 (diff) | |
download | serenity-c23d25d1dee4b34379282fe2aeb60bc6856aeb73.zip |
FileManager: Add F6 alternate shortcut to "location" action
This mirrors the behaviour in Browser.
Diffstat (limited to 'Userland/Applications/FileManager')
-rw-r--r-- | Userland/Applications/FileManager/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/FileManager/main.cpp b/Userland/Applications/FileManager/main.cpp index 41f6ee5fbe..916ecbf2a6 100644 --- a/Userland/Applications/FileManager/main.cpp +++ b/Userland/Applications/FileManager/main.cpp @@ -970,7 +970,7 @@ ErrorOr<int> run_in_windowed_mode(String const& initial_location, String const& TRY(view_menu->try_add_separator()); TRY(view_menu->try_add_action(action_show_dotfiles)); - auto go_to_location_action = GUI::Action::create("Go to &Location...", { Mod_Ctrl, Key_L }, Gfx::Bitmap::try_load_from_file("/res/icons/16x16/go-to.png").release_value_but_fixme_should_propagate_errors(), [&](auto&) { + auto go_to_location_action = GUI::Action::create("Go to &Location...", { Mod_Ctrl, Key_L }, Key_F6, Gfx::Bitmap::try_load_from_file("/res/icons/16x16/go-to.png").release_value_but_fixme_should_propagate_errors(), [&](auto&) { toolbar_container.set_visible(true); location_toolbar.set_visible(true); breadcrumb_toolbar.set_visible(false); |