Skip to content

Commit

Permalink
Fix *.pdf filter for ExportAsPdf dialog (#5490)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhennion committed Feb 6, 2024
1 parent 26cb407 commit 093c2b2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/core/control/jobs/PdfExportJob.cpp
Expand Up @@ -16,9 +16,7 @@ PdfExportJob::PdfExportJob(Control* control): BaseExportJob(control, _("PDF Expo

PdfExportJob::~PdfExportJob() = default;

void PdfExportJob::addFilterToDialog() {
addFileFilterToDialog(_("PDF files"), ".pdf");
}
void PdfExportJob::addFilterToDialog() { addFileFilterToDialog(_("PDF files"), "*.pdf"); }

auto PdfExportJob::testAndSetFilepath(const fs::path& file) -> bool {
if (!BaseExportJob::testAndSetFilepath(file)) {
Expand Down

0 comments on commit 093c2b2

Please sign in to comment.