Skip to content

Commit 48e29d5

Browse files
committed
Don't show a messageBox when pcb2gcodeProcess is killed
1 parent a137c7d commit 48e29d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mainwindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ void MainWindow::imagesGenerated(int exitCode, QProcess::ExitStatus exitStatus)
391391
addImageFile(dir, tr("Input drill"), "original_drill");
392392
addImageFile(dir, tr("Input outline"), fillOutline ? "outline_filled" : "original_outline");
393393
}
394-
else
394+
else if (sender() != static_cast<QObject *>(&pcb2gcodeProcess)) //Errors from pcb2gcodeProcess are printed in outputWindow
395395
{
396396
QMessageBox::critical(this, "Error",
397397
tr("Error while processing input files (error code ") +

0 commit comments

Comments
 (0)