mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-16 18:34:54 -06:00
#7509 Snapshot to File: Use png as default snapshot filename
This commit is contained in:
parent
4a61226926
commit
c0022f9bfa
@ -212,7 +212,7 @@ QString RicSnapshotViewToFileFeature::generateSaveFileName( const QString& defau
|
||||
caf::Utils::constructFullFileName( startPath, defaultFileBaseName, "." + defaultExtension );
|
||||
|
||||
QString selectedExtension;
|
||||
if ( supportPDF )
|
||||
if ( supportPDF && defaultExtension.compare( "pdf", Qt::CaseInsensitive ) == 0 )
|
||||
{
|
||||
selectedExtension = pdfFilter;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user