#4941 Workaround strange file name validation in "Export FLUXNUM/MULTINUM" dialog.

Having an explicit filter for the default suffix (*.grdecl) removes the
strange complaint about the default file name not being valid.
This commit is contained in:
Kristian Bendiksen 2019-11-01 14:37:56 +01:00
parent 64ea23fdc6
commit 4c11564838

View File

@ -74,6 +74,8 @@ void RicSaveEclipseInputVisibleCellsUi::defineEditorAttribute( const caf::PdmFie
if ( myAttr ) if ( myAttr )
{ {
myAttr->m_selectSaveFileName = true; myAttr->m_selectSaveFileName = true;
// Set GRDECL file filter as default
myAttr->m_fileSelectionFilter = "GRDECL files (*.grdecl);;All files (*.*)";
} }
} }
} }