diff --git a/sources/qetdiagrameditor.cpp b/sources/qetdiagrameditor.cpp index 2a68c51a6..5f7684e8d 100644 --- a/sources/qetdiagrameditor.cpp +++ b/sources/qetdiagrameditor.cpp @@ -2401,11 +2401,12 @@ void QETDiagramEditor::generateTerminalBlock() success = process->startDetached(exe, {(QETDiagramEditor::currentProjectView()->project()->filePath())}); } } - } else { - process->close(); - qInfo() << "Did not find binary of \"qet_tb_generator\""; } #endif + else { + process->close(); + qInfo() << "No project loaded - no need to start \"qet_tb_generator\""; + } #if defined(Q_OS_WIN32) || defined(Q_OS_WIN64) QString message=QObject::tr(