mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8822 Summary Axis: Add tick mark count to y-axis
This commit is contained in:
@@ -72,12 +72,12 @@ void RicSnapshotViewToPdfFeature::onActionTriggered( bool isChecked )
|
||||
}
|
||||
else
|
||||
{
|
||||
fileName = defaultFileName + ".pdf";
|
||||
fileName = defaultFileName + "." + fileExtension;
|
||||
}
|
||||
|
||||
if ( !fileName.isEmpty() )
|
||||
{
|
||||
if ( plotWindow && fileName.endsWith( "PDF", Qt::CaseInsensitive ) )
|
||||
if ( plotWindow && fileName.endsWith( fileExtension, Qt::CaseInsensitive ) )
|
||||
{
|
||||
RicSnapshotViewToFileFeature::savePlotPdfReportAs( fileName, plotWindow );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user