load PDFs from "documents" instead of "images", even though PDF page is imported as image

This commit is contained in:
plc-user
2026-08-23 12:23:39 +02:00
parent e44219778e
commit 47558f8b0a
+1 -1
View File
@@ -166,7 +166,7 @@ void DiagramEventAddPdf::openDialog()
if (m_diagram->isReadOnly()) return;
// Open file dialog to select a PDF file
QString pathPictures = QETApp::pictureDir();
QString pathPictures = QETApp::documentDir();
QString fileName = QFileDialog::getOpenFileName(
m_diagram->views().isEmpty() ? nullptr : m_diagram->views().first(),
QObject::tr("Sélectionner un fichier PDF..."),