From fc0dcb6ab0403b0c26ef4c04566165738fbdfd83 Mon Sep 17 00:00:00 2001 From: Laurent Trinques Date: Sun, 13 Oct 2024 09:55:24 +0200 Subject: [PATCH] Improve message box --- sources/dxf/dxftoelmt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/dxf/dxftoelmt.cpp b/sources/dxf/dxftoelmt.cpp index 8e27fb1a3..2ba0e9313 100644 --- a/sources/dxf/dxftoelmt.cpp +++ b/sources/dxf/dxftoelmt.cpp @@ -55,7 +55,7 @@ QByteArray dxfToElmt(const QString &file_path) // inform the user about log-output via QMessageBox QMessageBox msgBox; msgBox.setIcon(QMessageBox::Critical); - msgBox.setText(QObject::tr ("Dxf2elmt: \nError: Make sure the file is a valid .dxf file")); + msgBox.setText(QObject::tr ("Dxf2elmt: \nError: Make sure the file %1 is a valid .dxf file").arg(file_path)); msgBox.setInformativeText (QObject::tr("See details here:")); msgBox.setDetailedText(error_output); msgBox.exec();