Commit 38b9dfa6 authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Fix export in Krita using CLI

parent 53cd440f
......@@ -566,6 +566,7 @@ bool KisApplication::start(const KisApplicationArguments &args)
}
qApp->processEvents(); // For vector layers to be updated
doc->image()->waitForDone();
doc->setFileBatchMode(true);
if (!doc->exportDocumentSync(QUrl::fromLocalFile(exportFileName), outputMimetype.toLatin1())) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment