From 9288e641798128bc705b0e2aa95c32ee58ef7e0e Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 10 Apr 2021 14:31:55 +0200 Subject: [PATCH] PixelPaint: Add icon and keyboard shortcut for the "New Image" action --- Userland/Applications/PixelPaint/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Applications/PixelPaint/main.cpp b/Userland/Applications/PixelPaint/main.cpp index b39631bcae..dd68010e35 100644 --- a/Userland/Applications/PixelPaint/main.cpp +++ b/Userland/Applications/PixelPaint/main.cpp @@ -129,7 +129,7 @@ int main(int argc, char** argv) file_menu.add_action( GUI::Action::create( - "&New Image...", [&](auto&) { + "&New Image...", { Mod_Ctrl, Key_N }, Gfx::Bitmap::load_from_file("/res/icons/16x16/new.png"), [&](auto&) { auto dialog = PixelPaint::CreateNewImageDialog::construct(window); if (dialog->exec() == GUI::Dialog::ExecOK) { auto image = PixelPaint::Image::create_with_size(dialog->image_size());