mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
Fix typo
Fixed a typo that resulted in existing PDF files not being displayed in the dialog box "Save As PDF". Thanks Bisku
This commit is contained in:
parent
8053303ce5
commit
fb58ecacfc
@ -666,7 +666,7 @@ QList<Diagram *> ProjectPrintWindow::selectedDiagram() const
|
|||||||
|
|
||||||
void ProjectPrintWindow::exportToPDF()
|
void ProjectPrintWindow::exportToPDF()
|
||||||
{
|
{
|
||||||
auto file_name = QFileDialog::getSaveFileName(this, tr("Exporter sous : "), m_printer->outputFileName(), tr("Fichier (*.pdf"));
|
auto file_name = QFileDialog::getSaveFileName(this, tr("Exporter sous : "), m_printer->outputFileName(), tr("Fichier (*.pdf)"));
|
||||||
if (file_name.isEmpty()) {
|
if (file_name.isEmpty()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user