From a96b15d2bc3d3a82134374b4891ef19dfcf99604 Mon Sep 17 00:00:00 2001 From: Jagger De Leo Date: Mon, 31 Jan 2022 22:34:21 -0500 Subject: [PATCH] PixelPaint: Remove conflicting action hotkey The new CommandPalette feature conflicts with PixelPaint's Clear Selection action keyboard shortcut (Ctrl + Shift + A). Fixes: #12222 --- Userland/Applications/PixelPaint/MainWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Applications/PixelPaint/MainWidget.cpp b/Userland/Applications/PixelPaint/MainWidget.cpp index 69ff38361f..6e2a2cb797 100644 --- a/Userland/Applications/PixelPaint/MainWidget.cpp +++ b/Userland/Applications/PixelPaint/MainWidget.cpp @@ -282,7 +282,7 @@ void MainWidget::initialize_menubar(GUI::Window& window) editor->selection().merge(editor->active_layer()->relative_rect(), PixelPaint::Selection::MergeMode::Set); })); m_edit_menu->add_action(GUI::Action::create( - "Clear &Selection", { Mod_Ctrl | Mod_Shift, Key_A }, Gfx::Bitmap::try_load_from_file("/res/icons/16x16/clear-selection.png").release_value_but_fixme_should_propagate_errors(), [&](auto&) { + "Clear &Selection", Gfx::Bitmap::try_load_from_file("/res/icons/16x16/clear-selection.png").release_value_but_fixme_should_propagate_errors(), [&](auto&) { auto* editor = current_image_editor(); VERIFY(editor); editor->selection().clear();