diff --git a/ba/ba8300.cpp b/ba/ba8300.cpp index 77f54759d..c3bfe48b9 100755 --- a/ba/ba8300.cpp +++ b/ba/ba8300.cpp @@ -760,8 +760,8 @@ void TReport_mask::on_pdf() TFilename tmp; tmp.tempdir(); tmp.add(_report.filename().name()); tmp.ext("pdf"); - book.export_pdf(tmp); - xvt_sys_goto_url(tmp, "open"); + if (book.export_pdf(tmp, false)) + xvt_sys_goto_url(tmp, "open"); } TReport_section& TReport_mask::curr_section()