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 :^)
This commit is contained in:
Mustafa Quraish 2022-01-21 03:59:25 -05:00 committed by Andreas Kling
parent 4556b8e943
commit c3e4123ed7
Notes: sideshowbarker 2024-07-17 23:02:37 +09:00

View File

@ -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();