Add txt suffix file pattern to make windows dialog behave better on windows.

This commit is contained in:
Kristian Bendiksen 2019-11-01 14:48:58 +01:00
parent 4c11564838
commit 60ac760254
2 changed files with 4 additions and 2 deletions

View File

@ -46,7 +46,8 @@ void RimBinaryExportSettings::defineEditorAttribute( const caf::PdmFieldHandle*
caf::PdmUiFilePathEditorAttribute* myAttr = dynamic_cast<caf::PdmUiFilePathEditorAttribute*>( attribute );
if ( myAttr )
{
myAttr->m_selectSaveFileName = true;
myAttr->m_selectSaveFileName = true;
myAttr->m_fileSelectionFilter = "Text files (*.txt);;All files (*.*)";
}
}
}

View File

@ -45,7 +45,8 @@ void RimExportInputSettings::defineEditorAttribute( const caf::PdmFieldHandle* f
caf::PdmUiFilePathEditorAttribute* myAttr = dynamic_cast<caf::PdmUiFilePathEditorAttribute*>( attribute );
if ( myAttr )
{
myAttr->m_selectSaveFileName = true;
myAttr->m_selectSaveFileName = true;
myAttr->m_fileSelectionFilter = "Text files (*.txt);;All files (*.*)";
}
}
}