[krita] libs/ui/tool: Make shape selection mode be a default in the selection tools!

Dmitry Kazakov null at kde.org
Sun Sep 2 22:07:35 BST 2018


Git commit c4407b4f166067c700401dc28787fbf1ec9b382f by Dmitry Kazakov.
Committed on 02/09/2018 at 21:07.
Pushed by dkazakov into branch 'master'.

Make shape selection mode be a default in the selection tools!

Ref T9486
CC:kimageshop at kde.org

M  +1    -1    libs/ui/tool/kis_selection_tool_config_widget_helper.cpp

https://commits.kde.org/krita/c4407b4f166067c700401dc28787fbf1ec9b382f

diff --git a/libs/ui/tool/kis_selection_tool_config_widget_helper.cpp b/libs/ui/tool/kis_selection_tool_config_widget_helper.cpp
index 199b8e9f071..87bff8a910f 100644
--- a/libs/ui/tool/kis_selection_tool_config_widget_helper.cpp
+++ b/libs/ui/tool/kis_selection_tool_config_widget_helper.cpp
@@ -100,7 +100,7 @@ void KisSelectionToolConfigWidgetHelper::slotToolActivatedChanged(bool isActivat
 
     KConfigGroup cfg = KSharedConfig::openConfig()->group("KisToolSelectBase");
     m_selectionAction = (SelectionAction)cfg.readEntry("selectionAction", (int)SELECTION_REPLACE);
-    m_selectionMode = (SelectionMode)cfg.readEntry("selectionMode", (int)PIXEL_SELECTION);
+    m_selectionMode = (SelectionMode)cfg.readEntry("selectionMode", (int)SHAPE_PROTECTION);
 
 
     KisSignalsBlocker b(m_optionsWidget);


More information about the kimageshop mailing list