-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/printableplot.cpp: fix QFileDialog ignoring selected extension
By default give a file name that has no extension and consider the default selected filter (PDF Document *.pdf). Check the selected filter if the file name is given without an extension and append the extension, otherwise use the extension provided by the user Signed-off-by: Daniel Guramulta <[email protected]>
- Loading branch information
1 parent
cb5ee5a
commit db60697
Showing
1 changed file
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters