Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

SelectionActionsPanel: Added CLEAR action.

Emmet O'Neillbae93e7f17cb
diff --git a/libs/ui/kis_selection_actions_panel.cpp b/libs/ui/kis_selection_actions_panel.cpp
index 00862d829e..2f40f0f47a 100644
--- a/libs/ui/kis_selection_actions_panel.cpp
+++ b/libs/ui/kis_selection_actions_panel.cpp
@@ -64,6 +64,7 @@ struct KisSelectionActionsPanel::Private {
{"select-invert", i18n("Invert Selection"), &KisSelectionManager::invert},
{"select-clear", i18n("Deselect"), &KisSelectionManager::deselect},
{"krita_tool_color_fill", i18n("Fill Selection with Color"), &KisSelectionManager::fillForegroundColor},
+ {"krita_tool_color_fill", i18n("Clear Selection"), &KisSelectionManager::clear},
{"duplicatelayer", i18n("Copy To New Layer"), &KisSelectionManager::copySelectionToNewLayer},
{"tool_crop", i18n("Crop to Selection"), &KisSelectionManager::imageResizeToSelection}};
return data;