#6525 Export parameter : Add .GRDECL as default file name extension

Support both upper and lower case of *.GRDECL in file filter when specifying save file name
This commit is contained in:
Magne Sjaastad
2021-10-14 14:36:06 +02:00
parent 7c7be7a846
commit d440e260c0
5 changed files with 20 additions and 19 deletions

View File

@@ -84,7 +84,8 @@ void RicSaveEclipseResultAsInputPropertyExec::redo()
}
QString outputFileName = projectFolder + "/" +
caf::Utils::makeValidFileBasename( m_cellColors->resultVariableUiShortName() );
caf::Utils::makeValidFileBasename( m_cellColors->resultVariableUiShortName() ) +
".GRDECL";
exportSettings.fileName = outputFileName;
}