diff options
author | Jagger De Leo <jagger@suborbital.dev> | 2022-01-31 22:34:21 -0500 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-04 16:11:48 +0100 |
commit | a96b15d2bc3d3a82134374b4891ef19dfcf99604 (patch) | |
tree | 63c5bc078f3da9e3bec106b1273775f055588942 /Userland/Applications/PixelPaint | |
parent | 30a143c79e76f2c4d2e8f75fa7d539641e9515e8 (diff) | |
download | serenity-a96b15d2bc3d3a82134374b4891ef19dfcf99604.zip |
PixelPaint: Remove conflicting action hotkey
The new CommandPalette feature conflicts with PixelPaint's Clear
Selection action keyboard shortcut (Ctrl + Shift + A).
Fixes: #12222
Diffstat (limited to 'Userland/Applications/PixelPaint')
-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 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(); |