Commit 20499ea6 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Make the camera raw import filter honor batchmode

parent f3b485af
......@@ -82,7 +82,12 @@ KisImportExportErrorCode KisRawImport::convert(KisDocument *document, QIODevice
slotUpdatePreview();
if (m_dialog->exec() == QDialog::Accepted) {
int r = QDialog::Accepted;
if (!batchMode()) {
r = m_dialog->exec();
}
if (r == QDialog::Accepted) {
QApplication::setOverrideCursor(Qt::WaitCursor);
// Do the decoding
......
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