mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add txt suffix file pattern to make windows dialog behave better on windows.
This commit is contained in:
parent
4c11564838
commit
60ac760254
@ -46,7 +46,8 @@ void RimBinaryExportSettings::defineEditorAttribute( const caf::PdmFieldHandle*
|
|||||||
caf::PdmUiFilePathEditorAttribute* myAttr = dynamic_cast<caf::PdmUiFilePathEditorAttribute*>( attribute );
|
caf::PdmUiFilePathEditorAttribute* myAttr = dynamic_cast<caf::PdmUiFilePathEditorAttribute*>( attribute );
|
||||||
if ( myAttr )
|
if ( myAttr )
|
||||||
{
|
{
|
||||||
myAttr->m_selectSaveFileName = true;
|
myAttr->m_selectSaveFileName = true;
|
||||||
|
myAttr->m_fileSelectionFilter = "Text files (*.txt);;All files (*.*)";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,8 @@ void RimExportInputSettings::defineEditorAttribute( const caf::PdmFieldHandle* f
|
|||||||
caf::PdmUiFilePathEditorAttribute* myAttr = dynamic_cast<caf::PdmUiFilePathEditorAttribute*>( attribute );
|
caf::PdmUiFilePathEditorAttribute* myAttr = dynamic_cast<caf::PdmUiFilePathEditorAttribute*>( attribute );
|
||||||
if ( myAttr )
|
if ( myAttr )
|
||||||
{
|
{
|
||||||
myAttr->m_selectSaveFileName = true;
|
myAttr->m_selectSaveFileName = true;
|
||||||
|
myAttr->m_fileSelectionFilter = "Text files (*.txt);;All files (*.*)";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user