#8822 Summary Axis: Add tick mark count to y-axis

This commit is contained in:
Magne Sjaastad
2022-04-22 09:58:51 +02:00
parent b6f7dd931e
commit 853b4a26d5
20 changed files with 157 additions and 38 deletions

View File

@@ -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 );