diff options
author | Mustafa Quraish <mustafaq9@gmail.com> | 2022-01-21 03:59:25 -0500 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-14 11:49:21 +0100 |
commit | c3e4123ed7ea8994bc03b24dfd5d8c98ae7e3b22 (patch) | |
tree | b0b75ec9bfb2bff36ab9711de008c897d7da45d0 /Userland/Applications/PixelPaint/MainWidget.cpp | |
parent | 4556b8e94346c6de86af58a82cf64ad107dbc3bd (diff) | |
download | serenity-c3e4123ed7ea8994bc03b24dfd5d8c98ae7e3b22.zip |
PixelPaint: Change menu shortcut for "Fit Image to View"
This makes it consistent with `ImageViewer`, where `F` was unavailable
for use as a shortcut. A small change, but it's nice having the same
keyboard shortcuts where we can :^)
Diffstat (limited to 'Userland/Applications/PixelPaint/MainWidget.cpp')
-rw-r--r-- | Userland/Applications/PixelPaint/MainWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/PixelPaint/MainWidget.cpp b/Userland/Applications/PixelPaint/MainWidget.cpp index 8303b7c0bd..8cc78bf481 100644 --- a/Userland/Applications/PixelPaint/MainWidget.cpp +++ b/Userland/Applications/PixelPaint/MainWidget.cpp @@ -378,7 +378,7 @@ void MainWidget::initialize_menubar(GUI::Window& window) m_view_menu->add_action(*m_zoom_out_action); m_view_menu->add_action(*m_reset_zoom_action); m_view_menu->add_action(GUI::Action::create( - "&Fit Image To View", [&](auto&) { + "Fit Image To &View", [&](auto&) { auto* editor = current_image_editor(); VERIFY(editor); editor->fit_image_to_view(); |