]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiView.cpp
Do not show master's errors if compiling child
[lyx.git] / src / frontends / qt4 / GuiView.cpp
index e043bc2c554aafec6727f8f15cb5edcf3f92702e..45c26c325c4829e504ed103fdbc60da1b1449e3f 100644 (file)
@@ -725,7 +725,10 @@ void GuiView::processingThreadFinished()
                errors("Export");
                return;
        }
-       errors(d.last_export_format);
+       if (status != Buffer::ExportSuccess && status != Buffer::PreviewSuccess &&
+           status != Buffer::ExportCancel) {
+               errors(d.last_export_format);
+       }
 }