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

Make sure that the text tool is not interrupted by the recorder

Dmitry Kazakovbe44e45a833e
diff --git a/plugins/dockers/recorder/recorder_writer.cpp b/plugins/dockers/recorder/recorder_writer.cpp
index 0b58553495..e5f7ff177b 100644
--- a/plugins/dockers/recorder/recorder_writer.cpp
+++ b/plugins/dockers/recorder/recorder_writer.cpp
@@ -41,6 +41,7 @@ namespace
"KisToolCrop",
"KisToolSelectPath",
"KisToolSelectMagnetic",
+ "SvgTextTool",
}; // disable recorder when toggled to one of these tools.
const QStringList activateBlacklistedTools = {
"KritaTransform/KisToolMove",
@@ -670,4 +671,4 @@ void RecorderWriterManager::onToolChanged(const QString &toolId)
void RecorderWriterManager::onToolPrimaryActionActivated(bool activated)
{
d->toolActivated = activated;
-}
\ No newline at end of file
+}