[graphics/krita] plugins/tools/tool_transform2: Fix liquify mode switching persistence

Dmitry Kazakov <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 950a5e0cb2aee618ff30efebc332570225e36433 by Dmitry Kazakov, on behalf of Moritz Staudinger.
Committed on 07/08/2026 at 13:58.
Pushed by dkazakov into branch 'master'.

Fix liquify mode switching persistence

M  +6    -6    plugins/tools/tool_transform2/kis_tool_transform_config_widget.cpp

https://invent.kde.org/graphics/krita/-/commit/950a5e0cb2aee618ff30efebc332570225e36433

diff --git a/plugins/tools/tool_transform2/kis_tool_transform_config_widget.cpp b/plugins/tools/tool_transform2/kis_tool_transform_config_widget.cpp
index 6728de562e9..532b9c3f8f4 100644
--- a/plugins/tools/tool_transform2/kis_tool_transform_config_widget.cpp
+++ b/plugins/tools/tool_transform2/kis_tool_transform_config_widget.cpp
@@ -260,12 +260,12 @@ KisToolTransformConfigWidget::KisToolTransformConfigWidget(TransformTransactionP
     liquifyReverseDirectionChk->setToolTip(i18nc("@info:tooltip", "Reverse direction of the current deformation tool"));
 
     KisSignalMapper *liquifyModeMapper = new KisSignalMapper(this);
-    connect(liquifyMove, SIGNAL(toggled(bool)), liquifyModeMapper, SLOT(map()));
-    connect(liquifyScale, SIGNAL(toggled(bool)), liquifyModeMapper, SLOT(map()));
-    connect(liquifyRotate, SIGNAL(toggled(bool)), liquifyModeMapper, SLOT(map()));
-    connect(liquifyOffset, SIGNAL(toggled(bool)), liquifyModeMapper, SLOT(map()));
-    connect(liquifyUndo, SIGNAL(toggled(bool)), liquifyModeMapper, SLOT(map()));
-    connect(liquifyRestoreShape, SIGNAL(toggled(bool)), liquifyModeMapper, SLOT(map()));
+    connect(liquifyMove, SIGNAL(clicked(bool)), liquifyModeMapper, SLOT(map()));
+    connect(liquifyScale, SIGNAL(clicked(bool)), liquifyModeMapper, SLOT(map()));
+    connect(liquifyRotate, SIGNAL(clicked(bool)), liquifyModeMapper, SLOT(map()));
+    connect(liquifyOffset, SIGNAL(clicked(bool)), liquifyModeMapper, SLOT(map()));
+    connect(liquifyUndo, SIGNAL(clicked(bool)), liquifyModeMapper, SLOT(map()));
+    connect(liquifyRestoreShape, SIGNAL(clicked(bool)), liquifyModeMapper, SLOT(map()));
     liquifyModeMapper->setMapping(liquifyMove, (int)KisLiquifyProperties::MOVE);
     liquifyModeMapper->setMapping(liquifyScale, (int)KisLiquifyProperties::SCALE);
     liquifyModeMapper->setMapping(liquifyRotate, (int)KisLiquifyProperties::ROTATE);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.