#1761 Use eclipse case directory as default path when selecting SourSim file

This commit is contained in:
Bjørnar Grip Fjær
2017-08-11 16:08:21 +02:00
parent 93502706be
commit e6fda31255
3 changed files with 11 additions and 1 deletions

View File

@@ -532,6 +532,7 @@ void RimEclipseResultCase::defineEditorAttribute(const caf::PdmFieldHandle* fiel
if (myAttr)
{
myAttr->m_fileSelectionFilter = "SourSim (*.sourres)";
myAttr->m_defaultPath = QFileInfo(caseFileName()).absolutePath();
}
}
}