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++
Fix deactivation of the "enter text group" mode on layer switch
Dmitry Kazakove5cc7dab8d71
diff --git a/libs/ui/kis_node_manager.cpp b/libs/ui/kis_node_manager.cppindex 3d045d0ff3..dada7a86bf 100644--- a/libs/ui/kis_node_manager.cpp+++ b/libs/ui/kis_node_manager.cpp@@ -149,6 +149,9 @@ bool KisNodeManager::Private::activateNodeImpl(KisNodeSP node)Q_ASSERT(selection);selection->deselectAll();+ // Disable all enter-group modes that were active+ view->canvasBase()->setCurrentShapeManagerOwnerShape(nullptr);+if (!node) {selection->setActiveLayer(0);imageView->setCurrentNode(0);