diff --git a/src/app/commands/cmd_open_file.cpp b/src/app/commands/cmd_open_file.cpp index 26776e8a6..018d01d33 100644 --- a/src/app/commands/cmd_open_file.cpp +++ b/src/app/commands/cmd_open_file.cpp @@ -157,7 +157,7 @@ void OpenFileCommand::onExecute(Context* context) fop->postLoad(); // Show any error - if (fop->hasError()) + if (fop->hasError() && !fop->isStop()) console.printf(fop->error().c_str()); Document* document = fop->document();