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++

UX: Added an eraser icon to the CLEAR button within the SelectionActionsPanel.

Emmet O'Neilleb650caf6fff
diff --git a/libs/ui/kis_selection_actions_panel.cpp b/libs/ui/kis_selection_actions_panel.cpp
index 2f40f0f47a..abc9e35e64 100644
--- a/libs/ui/kis_selection_actions_panel.cpp
+++ b/libs/ui/kis_selection_actions_panel.cpp
@@ -64,7 +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},
+ {"draw-eraser", i18n("Clear Selection"), &KisSelectionManager::clear},
{"duplicatelayer", i18n("Copy To New Layer"), &KisSelectionManager::copySelectionToNewLayer},
{"tool_crop", i18n("Crop to Selection"), &KisSelectionManager::imageResizeToSelection}};
return data;