[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    [krita] libs/ui/tool: Make shape selection mode be a default in the selection tools!
From:       Dmitry Kazakov <null () kde ! org>
Date:       2018-09-02 21:07:35
Message-ID: E1fwZap-0005P1-Ay () code ! kde ! org
[Download RAW message or body]

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@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);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic